udhcpc: remove now-unneeded definitions of vendor and client-id opts
authorDenys Vlasenko <vda.linux@googlemail.com>
Wed, 20 Oct 2010 00:03:30 +0000 (02:03 +0200)
committerDenys Vlasenko <vda.linux@googlemail.com>
Wed, 20 Oct 2010 00:03:30 +0000 (02:03 +0200)
function                                             old     new   delta
dhcp_optflags                                         68      64      -4

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
networking/udhcp/common.c

index e34f926bbd920cfda20f92aee423517584da41a3..311f79e7e29a9f8258b7116c05a18a90395cf311 100644 (file)
@@ -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 */
 };