dhcp6: gracefully handle NoBinding error
authorYu Watanabe <watanabe.yu+github@gmail.com>
Fri, 12 Aug 2022 19:47:54 +0000 (04:47 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Fri, 12 Aug 2022 20:26:22 +0000 (05:26 +0900)
commit1929c1fcb2f305206c01a6fc79cd038d6d9615f5
treefb57455266aeef7a4518facaac1aa50d26c0c3d4
parent38db7a4ed388b032faae221067b77d553a54e6a6
dhcp6: gracefully handle NoBinding error

When we receive NoBinding status code, the requesting binding (address or
any other information) does not exist anymore in the server. Hence,
resending the request is meaningless. Let's restart the transaction from
the beginning in that case.
src/libsystemd-network/dhcp6-protocol.c
src/libsystemd-network/dhcp6-protocol.h
src/libsystemd-network/fuzz-dhcp6-client.c
src/libsystemd-network/sd-dhcp6-client.c
src/libsystemd-network/sd-dhcp6-lease.c