projects
/
project
/
relayd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Do not forward ARP responses to the interface that they came from
[project/relayd.git]
/
main.c
diff --git
a/main.c
b/main.c
index
a29be2c
..
8689f32
100644
(file)
--- 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);
}