summaryrefslogtreecommitdiff
path: root/src/libsystemd-dhcp/dhcp-protocol.h
diff options
context:
space:
mode:
authorPatrik Flykt <patrik.flykt@linux.intel.com>2013-12-20 17:16:10 +0200
committerTom Gundersen <teg@jklm.no>2013-12-22 10:48:31 +0100
commit3b349af69aab440a625fedb21377e2bdc461098e (patch)
tree58c055f88797df2619d4af94ba09faa750569d67 /src/libsystemd-dhcp/dhcp-protocol.h
parenteb53c37e2eb1ff9e2dbf370985dd53c62a98fa66 (diff)
libsystemd-dhcp: Use be32_t for IP addresses in network order.
Diffstat (limited to 'src/libsystemd-dhcp/dhcp-protocol.h')
-rw-r--r--src/libsystemd-dhcp/dhcp-protocol.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/libsystemd-dhcp/dhcp-protocol.h b/src/libsystemd-dhcp/dhcp-protocol.h
index 1e59965dc0..76621f541b 100644
--- a/src/libsystemd-dhcp/dhcp-protocol.h
+++ b/src/libsystemd-dhcp/dhcp-protocol.h
@@ -36,10 +36,10 @@ struct DHCPMessage {
be32_t xid;
be16_t secs;
be16_t flags;
- uint32_t ciaddr;
- uint32_t yiaddr;
- uint32_t siaddr;
- uint32_t giaddr;
+ be32_t ciaddr;
+ be32_t yiaddr;
+ be32_t siaddr;
+ be32_t giaddr;
uint8_t chaddr[16];
uint8_t sname[64];
uint8_t file[128];