summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Franke <cfchris6@ts2server.com>2010-06-15 11:32:10 (GMT)
committerChristian Franke <cfchris6@ts2server.com>2010-06-15 11:32:10 (GMT)
commitf697e468503e70756475985333fd10a425cadf71 (patch)
tree92e8567fa67fa9decd77e5083d0d88c6534b0549
parent724a8a216f79b281fb8c7d18f95721429924279d (diff)
remove unnecessary check
-rw-r--r--arpd.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/arpd.c b/arpd.c
index 3da2e2a..55b041d 100644
--- a/arpd.c
+++ b/arpd.c
@@ -157,11 +157,6 @@ static void main_loop()
continue;
}
- if (!(lla.sll_pkttype
- & (PACKET_HOST | PACKET_BROADCAST | PACKET_MULTICAST)
- || (lla.sll_pkttype & PACKET_OUTGOING)))
- continue;
-
if ( (ntohs(recvbuffer.hdr_eth_type) != ETHERTYPE_ARP)
|| (ntohs(recvbuffer.hdr_arp_hrd) != ARPHRD_ETHER)
|| (ntohs(recvbuffer.hdr_arp_pro) != ETHERTYPE_IP)