From 50aa78eaed31693c76f75171ba090930dc9e40d1 Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Wed, 11 Aug 2010 11:12:12 +0200 Subject: [PATCH] Do not forward ARP responses to the interface that they came from --- main.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/main.c b/main.c index a29be2c..8689f32 100644 --- a/main.c +++ b/main.c @@ -426,6 +426,9 @@ static void recv_arp_reply(struct relayd_interface *rif, struct arp_packet *pkt) if (!host) return; + if (host->rif == rif) + return; + send_arp_reply(host->rif, pkt->arp.arp_spa, host->lladdr, host->ipaddr); } -- 2.30.2