summaryrefslogtreecommitdiffstats
path: root/net/bootp.h
diff options
context:
space:
mode:
Diffstat (limited to 'net/bootp.h')
-rw-r--r--net/bootp.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/bootp.h b/net/bootp.h
index bf4e8756a1..1cf9a02b24 100644
--- a/net/bootp.h
+++ b/net/bootp.h
@@ -52,7 +52,7 @@ struct Bootp_t {
};
#define BOOTP_HDR_SIZE sizeof(struct Bootp_t)
-#define BOOTP_SIZE (ETHER_HDR_SIZE + IP_HDR_SIZE + BOOTP_HDR_SIZE)
+#define BOOTP_SIZE (ETHER_HDR_SIZE + IP_UDP_HDR_SIZE + BOOTP_HDR_SIZE)
/**********************************************************************/
/*
OpenPOWER on IntegriCloud