diff options
author | Stefano Brivio <sbrivio@redhat.com> | 2021-04-21 17:15:23 +0200 |
---|---|---|
committer | Stefano Brivio <sbrivio@redhat.com> | 2021-04-21 17:15:23 +0200 |
commit | faff1336296741ab434ae33b948cffe57a51886d (patch) | |
tree | 30765570aca3fc4688ebc96c31f85740ebffc2e9 /icmp.c | |
parent | 61fa05c7c0c566cef4e85103841afdbbe0b4f3f6 (diff) | |
download | passt-faff1336296741ab434ae33b948cffe57a51886d.tar passt-faff1336296741ab434ae33b948cffe57a51886d.tar.gz passt-faff1336296741ab434ae33b948cffe57a51886d.tar.bz2 passt-faff1336296741ab434ae33b948cffe57a51886d.tar.lz passt-faff1336296741ab434ae33b948cffe57a51886d.tar.xz passt-faff1336296741ab434ae33b948cffe57a51886d.tar.zst passt-faff1336296741ab434ae33b948cffe57a51886d.zip |
dhcpv6: Fix REPLY messages with NotOnLink status code
The NotOnLink status code needs to be appended to the existing IA
content, because if we omit the requested addresses in the reply,
ISC's dhclient handles it as a NoAddrsAvail response.
Also fix length accounting (we would send a bunch of zeroes after
the IA otherwise), and print an informational message with the
requested address, if it's not appropriate for the link.
Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
Diffstat (limited to 'icmp.c')
0 files changed, 0 insertions, 0 deletions