summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/net/ipv4.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/net/ipv4.c b/src/net/ipv4.c
index b4148d8e0..b9ce5e7f7 100644
--- a/src/net/ipv4.c
+++ b/src/net/ipv4.c
@@ -552,6 +552,7 @@ static int ipv4_rx ( struct io_buffer *iobuf,
/* Discard unicast packets not destined for us */
if ( ( ! ( flags & LL_MULTICAST ) ) &&
+ ( iphdr->dest.s_addr != INADDR_BROADCAST ) &&
ipv4_has_any_addr ( netdev ) &&
( ! ipv4_has_addr ( netdev, iphdr->dest ) ) ) {
DBGC ( iphdr->src, "IPv4 discarding non-local unicast packet "