version 1.1, 2018/04/07 22:34:26 |
version 1.2, 2018/04/07 22:37:29 |
Line 179 ssize_t decode_tr_header (interface, buf |
|
Line 179 ssize_t decode_tr_header (interface, buf |
|
|| ntohs(llc->ethertype) != ETHERTYPE_IP |
|| ntohs(llc->ethertype) != ETHERTYPE_IP |
|| ip->ip_p != IPPROTO_UDP |
|| ip->ip_p != IPPROTO_UDP |
|| (ntohs (ip->ip_off) & IP_OFFMASK) != 0 |
|| (ntohs (ip->ip_off) & IP_OFFMASK) != 0 |
|| udp->uh_dport != local_port) |
|| udp->uh_dport != *libdhcp_callbacks.local_port) |
return -1; |
return -1; |
|
|
/* only save source routing information for packets from valued hosts */ |
/* only save source routing information for packets from valued hosts */ |