diff options
Diffstat (limited to 'networking/udhcp/common.h')
-rw-r--r-- | networking/udhcp/common.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/networking/udhcp/common.h b/networking/udhcp/common.h index e374771cb..5882238e3 100644 --- a/networking/udhcp/common.h +++ b/networking/udhcp/common.h | |||
@@ -245,7 +245,11 @@ void udhcp_add_simple_option(struct dhcp_packet *packet, uint8_t code, uint32_t | |||
245 | char *dname_dec(const uint8_t *cstr, int clen, const char *pre) FAST_FUNC; | 245 | char *dname_dec(const uint8_t *cstr, int clen, const char *pre) FAST_FUNC; |
246 | uint8_t *dname_enc(/*const uint8_t *cstr, int clen,*/ const char *src, int *retlen) FAST_FUNC; | 246 | uint8_t *dname_enc(/*const uint8_t *cstr, int clen,*/ const char *src, int *retlen) FAST_FUNC; |
247 | #endif | 247 | #endif |
248 | struct option_set *udhcp_find_option(struct option_set *opt_list, uint8_t code) FAST_FUNC; | 248 | #if !ENABLE_UDHCPC6 |
249 | #define udhcp_find_option(opt_list, code, dhcpv6) \ | ||
250 | udhcp_find_option(opt_list, code) | ||
251 | #endif | ||
252 | struct option_set *udhcp_find_option(struct option_set *opt_list, uint8_t code, bool dhcpv6) FAST_FUNC; | ||
249 | 253 | ||
250 | // RFC 2131 Table 5: Fields and options used by DHCP clients | 254 | // RFC 2131 Table 5: Fields and options used by DHCP clients |
251 | // | 255 | // |