summaryrefslogtreecommitdiff
path: root/libdhcp/dhcp_common.h
diff options
context:
space:
mode:
authorLuke T. Shumaker <lukeshu@lukeshu.com>2024-11-12 13:19:09 -0700
committerLuke T. Shumaker <lukeshu@lukeshu.com>2024-11-12 13:23:33 -0700
commit5be7b1ebd1ab2bce1d53552b627fe55f425bdb38 (patch)
tree890cda05f97bac976c2120ade2df79408bd40c82 /libdhcp/dhcp_common.h
parentaec7a1209a7c2314acc5703a94509a403c796444 (diff)
Fuss with compile-time config
Diffstat (limited to 'libdhcp/dhcp_common.h')
-rw-r--r--libdhcp/dhcp_common.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libdhcp/dhcp_common.h b/libdhcp/dhcp_common.h
index d400721..b265df3 100644
--- a/libdhcp/dhcp_common.h
+++ b/libdhcp/dhcp_common.h
@@ -74,7 +74,7 @@
#include "config.h"
#ifndef CONFIG_DHCP_OPT_SIZE
- #define CONFIG_DHCP_OPT_SIZE DHCP_MSG_MIN_MAX_OPT_SIZE
+ #error config.h must define CONFIG_DHCP_OPT_SIZE (minimum 312)
#endif
/* RFC 2131 definitions *******************************************************/