diff options
author | Tom Gundersen <teg@jklm.no> | 2016-01-21 00:54:35 +0100 |
---|---|---|
committer | Tom Gundersen <teg@jklm.no> | 2016-01-21 00:54:35 +0100 |
commit | 91c4b6db7840e68e4d7a019c3cb4d5d60d2a65c7 (patch) | |
tree | 37282fab2575b04c9a1b22d3d33d49d0fcc0b65f /src/libsystemd-network/dhcp-packet.c | |
parent | e5b5f51322ad6b1849a1f8e4ccf2858eea504868 (diff) | |
parent | 2c1ab8ca9b5dec48c66eb25dd8af71731e70e517 (diff) |
Merge pull request #2389 from bengal/dhcp-api-cleanup-v3
Improve libsystemd-networkd DHCP API (v3)
Diffstat (limited to 'src/libsystemd-network/dhcp-packet.c')
-rw-r--r-- | src/libsystemd-network/dhcp-packet.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libsystemd-network/dhcp-packet.c b/src/libsystemd-network/dhcp-packet.c index 9ff42b155e..8d75d49691 100644 --- a/src/libsystemd-network/dhcp-packet.c +++ b/src/libsystemd-network/dhcp-packet.c @@ -44,7 +44,7 @@ int dhcp_message_init(DHCPMessage *message, uint8_t op, uint32_t xid, message->magic = htobe32(DHCP_MAGIC_COOKIE); r = dhcp_option_append(message, optlen, &offset, 0, - DHCP_OPTION_MESSAGE_TYPE, 1, &type); + SD_DHCP_OPTION_MESSAGE_TYPE, 1, &type); if (r < 0) return r; |