udhcp: implement "raw" binary options. Closes bug 735
authorDenys Vlasenko <vda.linux@googlemail.com>
Sun, 4 Apr 2010 13:31:12 +0000 (15:31 +0200)
committerDenys Vlasenko <vda.linux@googlemail.com>
Sun, 4 Apr 2010 13:31:12 +0000 (15:31 +0200)
commit4f3aa51f9d551fba2935e34954e0eaf404c4f013
tree534af3d78f806e79a6e3dcaf1fa5f6e89c17809e
parent4836331924b5eb7f74e000d50c99bc12d513f8c7
udhcp: implement "raw" binary options. Closes bug 735

function                                             old     new   delta
allocate_tempopt_if_needed                             -      76     +76
udhcp_str2optset                                     351     415     +64
attach_option                                        380     398     +18
len_of_option_as_string                               11      12      +1
dhcp_option_lengths                                   11      12      +1
------------------------------------------------------------------------------
(add/remove: 1/0 grow/shrink: 4/0 up/down: 160/0)             Total: 160 bytes

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