aboutsummaryrefslogtreecommitdiff
path: root/networking/udhcp/common.c
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2020-06-09 17:22:06 +0200
committerDenys Vlasenko <vda.linux@googlemail.com>2020-06-09 17:22:06 +0200
commit0cad5f9b6dd80858c3ebb3893e04d2378eddc872 (patch)
tree9891b5120accfee3a260c2b8563b1a464287966e /networking/udhcp/common.c
parent002be6e821eedfa190c5b060e7b61acb306c2a92 (diff)
downloadbusybox-0cad5f9b6dd80858c3ebb3893e04d2378eddc872.tar.gz
udhcp: comment out unused domain compression code
function old new delta attach_option 411 406 -5 dname_enc 381 167 -214 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 0/2 up/down: 0/-219) Total: -219 bytes Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'networking/udhcp/common.c')
-rw-r--r--networking/udhcp/common.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/networking/udhcp/common.c b/networking/udhcp/common.c
index 9ec752dfc..16bf69707 100644
--- a/networking/udhcp/common.c
+++ b/networking/udhcp/common.c
@@ -431,7 +431,7 @@ static NOINLINE void attach_option(
#if ENABLE_FEATURE_UDHCP_RFC3397
if ((optflag->flags & OPTION_TYPE_MASK) == OPTION_DNS_STRING) {
/* reuse buffer and length for RFC1035-formatted string */
- allocated = buffer = (char *)dname_enc(NULL, 0, buffer, &length);
+ allocated = buffer = (char *)dname_enc(/*NULL, 0,*/ buffer, &length);
}
#endif