diff options
author | Denys Vlasenko | 2020-06-09 17:22:06 +0200 |
---|---|---|
committer | Denys Vlasenko | 2020-06-09 17:22:06 +0200 |
commit | 0cad5f9b6dd80858c3ebb3893e04d2378eddc872 (patch) | |
tree | 9891b5120accfee3a260c2b8563b1a464287966e /networking/udhcp/common.h | |
parent | 002be6e821eedfa190c5b060e7b61acb306c2a92 (diff) | |
download | busybox-0cad5f9b6dd80858c3ebb3893e04d2378eddc872.zip busybox-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.h')
-rw-r--r-- | networking/udhcp/common.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/networking/udhcp/common.h b/networking/udhcp/common.h index 60255ee..73f860a 100644 --- a/networking/udhcp/common.h +++ b/networking/udhcp/common.h @@ -218,7 +218,7 @@ void udhcp_add_simple_option(struct dhcp_packet *packet, uint8_t code, uint32_t #endif #if ENABLE_FEATURE_UDHCP_RFC3397 || ENABLE_FEATURE_UDHCPC6_RFC3646 || ENABLE_FEATURE_UDHCPC6_RFC4704 char *dname_dec(const uint8_t *cstr, int clen, const char *pre) FAST_FUNC; -uint8_t *dname_enc(const uint8_t *cstr, int clen, const char *src, int *retlen) FAST_FUNC; +uint8_t *dname_enc(/*const uint8_t *cstr, int clen,*/ const char *src, int *retlen) FAST_FUNC; #endif struct option_set *udhcp_find_option(struct option_set *opt_list, uint8_t code) FAST_FUNC; |