summaryrefslogtreecommitdiffstats
path: root/dhcp.h
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2008-09-05 11:54:44 +0000
committerRoy Marples <roy@marples.name>2008-09-05 11:54:44 +0000
commit99d755f98fbd68ea54a199f5ce27516e37108cd1 (patch)
treebea63bdf9d51b557c5d76f0784c65228788d9efe /dhcp.h
parent0ce8caf249d3f477eacbcb45cf31322798551b2d (diff)
downloaddhcpcd-99d755f98fbd68ea54a199f5ce27516e37108cd1.tar.xz
Pack the dhcp structure.
Diffstat (limited to 'dhcp.h')
-rw-r--r--dhcp.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/dhcp.h b/dhcp.h
index 0f605344..959907ab 100644
--- a/dhcp.h
+++ b/dhcp.h
@@ -155,7 +155,7 @@ struct dhcp_message {
uint8_t bootfile[BOOTFILE_LEN]; /* boot file name */
uint32_t cookie;
uint8_t options[DHCP_OPTION_LEN]; /* message options - cookie */
-};
+} _packed;
struct dhcp_lease {
struct in_addr addr;