From d3c5ab703bf6f42ec11fb770b86aaf927cf6b32d Mon Sep 17 00:00:00 2001 From: Denys Vlasenko Date: Wed, 20 Oct 2010 02:03:30 +0200 Subject: udhcpc: remove now-unneeded definitions of vendor and client-id opts function old new delta dhcp_optflags 68 64 -4 Signed-off-by: Denys Vlasenko --- networking/udhcp/common.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'networking/udhcp/common.c') diff --git a/networking/udhcp/common.c b/networking/udhcp/common.c index e34f926bb..311f79e7e 100644 --- a/networking/udhcp/common.c +++ b/networking/udhcp/common.c @@ -68,9 +68,10 @@ const struct dhcp_optflag dhcp_optflags[] = { { OPTION_IP , 0x32 }, /* DHCP_REQUESTED_IP */ { OPTION_U8 , 0x35 }, /* DHCP_MESSAGE_TYPE */ { OPTION_U16 , 0x39 }, /* DHCP_MAX_SIZE */ - { OPTION_STRING , 0x3c }, /* DHCP_VENDOR */ - /* not really a string */ - { OPTION_STRING , 0x3d }, /* DHCP_CLIENT_ID */ +//looks like these opts will work just fine even without these defs: +// { OPTION_STRING , 0x3c }, /* DHCP_VENDOR */ +// /* not really a string: */ +// { OPTION_STRING , 0x3d }, /* DHCP_CLIENT_ID */ { 0, 0 } /* zeroed terminating entry */ }; -- cgit v1.2.3