diff options
author | Michael Brown <mcb30@ipxe.org> | 2014-05-23 13:29:40 +0100 |
---|---|---|
committer | Michael Brown <mcb30@ipxe.org> | 2014-05-23 14:11:11 +0100 |
commit | 6206f8f0f9b3c6fb822b6639eaffb460f5ddb9d2 (patch) | |
tree | 37447047b48c951d1f3e0286a9f1e52b1fcf28b6 /src/net/iobpad.c | |
parent | 3c7f5f9c4ca535dbd2f86996f71342e685d4ce50 (diff) | |
download | ipxe-6206f8f0f9b3c6fb822b6639eaffb460f5ddb9d2.zip ipxe-6206f8f0f9b3c6fb822b6639eaffb460f5ddb9d2.tar.gz ipxe-6206f8f0f9b3c6fb822b6639eaffb460f5ddb9d2.tar.bz2 |
[dhcpv6] Do not set sin6_scope_id on the unspecified client socket address
Setting sin6_scope_id to a non-zero value will cause the check against
the "empty socket address" in udp_demux() to fail, and incoming DHCPv6
responses on interfaces other than net0 will be rejected with a
spurious "No UDP connection listening on port 546" error.
The transmitting network device is specified via the destination
address, not the source address. Fix by simply not setting
sin6_scope_id on the client socket address.
Reported-by: Anton D. Kachalov <mouse@yandex-team.ru>
Tested-by: Anton D. Kachalov <mouse@yandex-team.ru>
Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/net/iobpad.c')
0 files changed, 0 insertions, 0 deletions