diff options
author | Chris Koch <chrisko@google.com> | 2019-07-28 22:43:07 -0700 |
---|---|---|
committer | insomniac <insomniacslk@users.noreply.github.com> | 2019-07-29 08:34:01 +0100 |
commit | 6d0d21cc633742eb4de9b08ad7a53572a6907623 (patch) | |
tree | 72cdadae64b0e6af751446b0361e9cb9f223ac15 /dhcpv4/bsdp/bsdp.go | |
parent | f672bc204f35cdafd26aeefa5faf44ab4de7c4dc (diff) |
server4: set peer to broadcast if client IP is zero
Clients without an IP set their source address to 0.0.0.0, so the peer
returned by ReadFrom may not actually be the address to send to.
Clients without an IP should have their response broadcast.
Signed-off-by: Chris Koch <chrisko@google.com>
Diffstat (limited to 'dhcpv4/bsdp/bsdp.go')
0 files changed, 0 insertions, 0 deletions