sd-dhcp-server: propagate error on parsing DHCP packet
authorYu Watanabe <watanabe.yu+github@gmail.com>
Tue, 8 Aug 2023 19:58:04 +0000 (04:58 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Tue, 8 Aug 2023 20:33:24 +0000 (05:33 +0900)
commit809da721f0167f88234e55a342e82023019e2341
tree0963b48af4cbb0846b3f57e8d430790162204df7
parent7b1fac1e529d6f808f11095b7f7e7631b3c5e4bd
sd-dhcp-server: propagate error on parsing DHCP packet

Otherwise, we silently ignore the received packet and that makes hard to
debug issue.
src/libsystemd-network/sd-dhcp-server.c
src/libsystemd-network/test-dhcp-server.c