-rw-r--r-- | libopie2/opienet/dhcp.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libopie2/opienet/dhcp.h b/libopie2/opienet/dhcp.h index 368e375..6ba4c53 100644 --- a/libopie2/opienet/dhcp.h +++ b/libopie2/opienet/dhcp.h @@ -42,6 +42,7 @@ #ifndef DHCP_H #define DHCP_H + #define DHCP_UDP_OVERHEAD (14 + /* Ethernet header */ \ 20 + /* IP header */ \ 8) /* UDP header */ @@ -197,5 +198,6 @@ struct dhcp_packet { #define FQDN_FQDN 8 #define FQDN_SUBOPTION_COUNT 8 + #endif |