summaryrefslogtreecommitdiff
path: root/accel-pppd/ctrl/ipoe/arp.c
diff options
context:
space:
mode:
Diffstat (limited to 'accel-pppd/ctrl/ipoe/arp.c')
-rw-r--r--accel-pppd/ctrl/ipoe/arp.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/accel-pppd/ctrl/ipoe/arp.c b/accel-pppd/ctrl/ipoe/arp.c
index 36b03447..a630e981 100644
--- a/accel-pppd/ctrl/ipoe/arp.c
+++ b/accel-pppd/ctrl/ipoe/arp.c
@@ -188,6 +188,9 @@ static int arp_read(struct triton_md_handler_t *h)
if (memcmp(ah->ar_sha, src.sll_addr, ETH_ALEN))
continue;
+ if (ah->ar_spa == 0)
+ continue;
+
t = &arp_tree[src.sll_ifindex & HASH_BITS];
parent = NULL;