1
0
mirror of https://github.com/nmap/nmap.git synced 2025-12-15 04:09:01 +00:00

Avoid unused var warning if IPV6_TCLASS is not defined

This commit is contained in:
dmiller
2016-02-21 14:28:10 +00:00
parent abb827a759
commit ecd041bd11

View File

@@ -3845,7 +3845,10 @@ static int send_ipv6_ip(const struct sockaddr_in6 *dst,
const unsigned char *end;
struct ip6_hdr *hdr;
unsigned char nxt;
int tclass, hoplimit;
#ifdef IPV6_TCLASS
int tclass;
#endif
int hoplimit;
int sd;
int n;