mirror of
https://github.com/nmap/nmap.git
synced 2025-12-16 12:49:02 +00:00
Avoid unused var warning if IPV6_TCLASS is not defined
This commit is contained in:
@@ -3845,7 +3845,10 @@ static int send_ipv6_ip(const struct sockaddr_in6 *dst,
|
|||||||
const unsigned char *end;
|
const unsigned char *end;
|
||||||
struct ip6_hdr *hdr;
|
struct ip6_hdr *hdr;
|
||||||
unsigned char nxt;
|
unsigned char nxt;
|
||||||
int tclass, hoplimit;
|
#ifdef IPV6_TCLASS
|
||||||
|
int tclass;
|
||||||
|
#endif
|
||||||
|
int hoplimit;
|
||||||
|
|
||||||
int sd;
|
int sd;
|
||||||
int n;
|
int n;
|
||||||
|
|||||||
Reference in New Issue
Block a user