diff options
author | Tom Gundersen <teg@jklm.no> | 2015-11-25 17:29:30 +0100 |
---|---|---|
committer | Tom Gundersen <teg@jklm.no> | 2015-11-25 18:30:31 +0100 |
commit | f693e9b38f13575b988335e3324a50dcc8772d48 (patch) | |
tree | fee9386c766685ad7cf7c0dc15c78711d4dd8855 /src/libsystemd-network/dhcp-protocol.h | |
parent | cddf4d81eacfc81cf761619fcb67bc07a744a6d1 (diff) |
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.
Diffstat (limited to 'src/libsystemd-network/dhcp-protocol.h')
-rw-r--r-- | src/libsystemd-network/dhcp-protocol.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libsystemd-network/dhcp-protocol.h b/src/libsystemd-network/dhcp-protocol.h index 05bb5ae493..f65529a00e 100644 --- a/src/libsystemd-network/dhcp-protocol.h +++ b/src/libsystemd-network/dhcp-protocol.h @@ -132,6 +132,7 @@ enum { DHCP_OPTION_MESSAGE_TYPE = 53, DHCP_OPTION_SERVER_IDENTIFIER = 54, DHCP_OPTION_PARAMETER_REQUEST_LIST = 55, + DHCP_OPTION_ERROR_MESSAGE = 56, DHCP_OPTION_MAXIMUM_MESSAGE_SIZE = 57, DHCP_OPTION_RENEWAL_T1_TIME = 58, DHCP_OPTION_REBINDING_T2_TIME = 59, |