udhcp: abort if we see unknown option, and show valid options if so
authorDenys Vlasenko <vda.linux@googlemail.com>
Sat, 27 Mar 2010 22:23:41 +0000 (23:23 +0100)
committerDenys Vlasenko <vda.linux@googlemail.com>
Sat, 27 Mar 2010 22:23:41 +0000 (23:23 +0100)
commit9107b63a7fb80fcab0da71cf12e8c81dfc394d20
tree566be6323a69a09949110349e720e33d7dd66fb2
parentc2fdd41f5f97349f23b2a66592b9b29834faabaf
udhcp: abort if we see unknown option, and show valid options if so

function                                             old     new   delta
udhcp_option_idx                                       -      77     +77
udhcp_str2optset                                     366     351     -15
udhcpc_main                                         2845    2801     -44
------------------------------------------------------------------------------
(add/remove: 1/0 grow/shrink: 0/2 up/down: 77/-59)             Total: 18 bytes

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