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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user