diff options
Diffstat (limited to 'common/lpf.c')
-rw-r--r-- | common/lpf.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/common/lpf.c b/common/lpf.c index 2269f019..dfcdb3d8 100644 --- a/common/lpf.c +++ b/common/lpf.c @@ -302,6 +302,9 @@ ssize_t send_packet (interface, packet, raw, len, from, to, hto) return send_fallback (interface, packet, raw, len, from, to, hto); + if (hto == NULL && interface->anycast_mac_addr.hlen) + hto = &interface->anycast_mac_addr; + /* Assemble the headers... */ assemble_hw_header (interface, (unsigned char *)hh, &hbufp, hto); fudge = hbufp % 4; /* IP header must be word-aligned. */ |