diff options
Diffstat (limited to 'common/upf.c')
-rw-r--r-- | common/upf.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/common/upf.c b/common/upf.c index 9c66a758..611ed23f 100644 --- a/common/upf.c +++ b/common/upf.c @@ -260,6 +260,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 *)hw, &hbufp, hto); assemble_udp_ip_header (interface, |