]> git.ipfire.org Git - thirdparty/systemd.git/commit - src/libsystemd-network/sd-dhcp-lease.c
sd-dhcp: parse error message in DECLINE or NAK 2029/head
authorTom Gundersen <teg@jklm.no>
Wed, 25 Nov 2015 16:29:30 +0000 (17:29 +0100)
committerTom Gundersen <teg@jklm.no>
Wed, 25 Nov 2015 17:30:31 +0000 (18:30 +0100)
commitf693e9b38f13575b988335e3324a50dcc8772d48
treefee9386c766685ad7cf7c0dc15c78711d4dd8855
parentcddf4d81eacfc81cf761619fcb67bc07a744a6d1
sd-dhcp: parse error message in DECLINE or NAK

If a client sends a DECLINE or a server sends a NAK, they can include
a string with a message to explain the error. Parse this and print it
at debug level.
src/libsystemd-network/dhcp-internal.h
src/libsystemd-network/dhcp-option.c
src/libsystemd-network/dhcp-protocol.h
src/libsystemd-network/sd-dhcp-client.c
src/libsystemd-network/sd-dhcp-lease.c
src/libsystemd-network/sd-dhcp-server.c
src/libsystemd-network/test-dhcp-client.c
src/libsystemd-network/test-dhcp-option.c