mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2025-06-22 00:57:14 +00:00
Dike out some cruft in Windows tap that we will never use, like TUN mode, DHCP masq, ARP emulation, NDP emulation, and related. We operate only in L2 mode. All tap, no tun.
This commit is contained in:
@ -324,7 +324,8 @@ DumpPacket (const char *prefix,
|
||||
&& blen - hlen >= (sizeof (UDPHDR)))
|
||||
{
|
||||
const UDPHDR *udp = (UDPHDR *) (data + sizeof (ETH_HEADER) + hlen);
|
||||
|
||||
|
||||
#if 0
|
||||
// DHCP packet?
|
||||
if ((udp->dest == htons (BOOTPC_PORT) || udp->dest == htons (BOOTPS_PORT))
|
||||
&& blen - hlen >= (sizeof (UDPHDR) + sizeof (DHCP)))
|
||||
@ -346,6 +347,7 @@ DumpPacket (const char *prefix,
|
||||
DumpDHCP (eth, ip, udp, dhcp, optlen);
|
||||
did = TRUE;
|
||||
}
|
||||
#endif
|
||||
|
||||
if (!did)
|
||||
{
|
||||
|
Reference in New Issue
Block a user