]> The Tcpdump Group git mirrors - libpcap/commitdiff
Remove useless '#if 1'
authorFrancois-Xavier Le Bail <[email protected]>
Mon, 31 Aug 2020 14:18:23 +0000 (16:18 +0200)
committerFrancois-Xavier Le Bail <[email protected]>
Mon, 31 Aug 2020 14:18:48 +0000 (16:18 +0200)
pcap-dos.c

index 16f155647f050e24c71c4514c9bd96574fd83447..22388514622b1d83b5e8dc04b7a1686bf3f6b290 100644 (file)
@@ -1031,11 +1031,9 @@ static int init_watt32 (struct pcap *pcap, const char *dev_name, char *err_buf)
   pcap_save.linktype       = _eth_get_hwtype (NULL, NULL);
   pcap_save.snapshot       = MTU > 0 ? MTU : ETH_MAX; /* assume 1514 */
 
-#if 1
   /* prevent use of resolve() and resolve_ip()
    */
   last_nameserver = 0;
-#endif
   return (1);
 }