• A
    batman-adv: send every DHCP packet as bat-unicast · 6c413b1c
    Antonio Quartulli 提交于
    In different situations it is possible that the DHCP server
    or client uses broadcast Ethernet frames to send messages
    to each other. The GW component in batman-adv takes care of
    using bat-unicast packets to bring broadcast DHCP
    Discover/Requests to the "best" server.
    
    On the way back the DHCP server usually sends unicasts,
    but upon client request it may decide to use broadcasts as
    well.
    
    This patch improves the GW component so that it now snoops
    and sends as unicast all the DHCP packets, no matter if they
    were generated by a DHCP server or client.
    Signed-off-by: NAntonio Quartulli <antonio@open-mesh.com>
    Signed-off-by: NMarek Lindner <mareklindner@neomailbox.ch>
    6c413b1c
distributed-arp-table.c 33.8 KB