summaryrefslogtreecommitdiff
path: root/networking/udhcp/script.c
diff options
context:
space:
mode:
authorDenis Vlasenko2008-11-06 00:49:59 +0000
committerDenis Vlasenko2008-11-06 00:49:59 +0000
commit35a064b67fc1954b95be06499a514a45c9f2e814 (patch)
treec3c2690d8c5c112ce744e17a906a860a0c6897d2 /networking/udhcp/script.c
parent202ac504e1addf0aa2debd53e7cd2411cc73ac8c (diff)
downloadbusybox-35a064b67fc1954b95be06499a514a45c9f2e814.zip
busybox-35a064b67fc1954b95be06499a514a45c9f2e814.tar.gz
build system: tidying up CONFIG_xxx names (suggested by Rob)
Diffstat (limited to 'networking/udhcp/script.c')
-rw-r--r--networking/udhcp/script.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/networking/udhcp/script.c b/networking/udhcp/script.c
index 2324ea9..8dff9b7 100644
--- a/networking/udhcp/script.c
+++ b/networking/udhcp/script.c
@@ -18,7 +18,7 @@ static const uint8_t max_option_length[] = {
[OPTION_IP] = sizeof("255.255.255.255 "),
[OPTION_IP_PAIR] = sizeof("255.255.255.255 ") * 2,
[OPTION_STRING] = 1,
-#if ENABLE_FEATURE_RFC3397
+#if ENABLE_FEATURE_UDHCP_RFC3397
[OPTION_STR1035] = 1,
#endif
[OPTION_BOOLEAN] = sizeof("yes "),
@@ -109,7 +109,7 @@ static char *alloc_fill_opts(uint8_t *option, const struct dhcp_option *type_p,
memcpy(dest, option, len);
dest[len] = '\0';
return ret; /* Short circuit this case */
-#if ENABLE_FEATURE_RFC3397
+#if ENABLE_FEATURE_UDHCP_RFC3397
case OPTION_STR1035:
/* unpack option into dest; use ret for prefix (i.e., "optname=") */
dest = dname_dec(option, len, ret);