diff options
author | Denys Vlasenko | 2011-10-19 22:40:35 +0200 |
---|---|---|
committer | Denys Vlasenko | 2011-10-19 22:40:35 +0200 |
commit | 1f56e51ca1d96b70635eb1b9df1d1ab0edd98a72 (patch) | |
tree | ec991d04a4708e2bc2ac32b251e0ecd853a781cd /include | |
parent | 2ea73b513dfa831e75a297dd602576b40d38be3f (diff) | |
download | busybox-1f56e51ca1d96b70635eb1b9df1d1ab0edd98a72.zip busybox-1f56e51ca1d96b70635eb1b9df1d1ab0edd98a72.tar.gz |
udhcpc: add support for DHCP option 212 (RFC 5969)
The patch is from OpenWRT people.
function old new delta
xmalloc_optname_optval 637 874 +237
dhcp_option_strings 237 243 +6
dhcp_optflags 68 70 +2
len_of_option_as_string 12 13 +1
dhcp_option_lengths 12 13 +1
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 5/0 up/down: 247/0) Total: 247 bytes
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/libbb.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/libbb.h b/include/libbb.h index f79b693..f0f54ef 100644 --- a/include/libbb.h +++ b/include/libbb.h @@ -814,9 +814,9 @@ void smart_ulltoa5(unsigned long long ul, char buf[5], const char *scale) FAST_F const char *make_human_readable_str(unsigned long long size, unsigned long block_size, unsigned long display_unit) FAST_FUNC; /* Put a string of hex bytes ("1b2e66fe"...), return advanced pointer */ -char *bin2hex(char *buf, const char *cp, int count) FAST_FUNC; +char *bin2hex(char *dst, const char *src, int count) FAST_FUNC; /* Reverse */ -char* hex2bin(char *dst, const char *str, int count) FAST_FUNC; +char* hex2bin(char *dst, const char *src, int count) FAST_FUNC; /* Generate a UUID */ void generate_uuid(uint8_t *buf) FAST_FUNC; |