udhcpc: fix OPTION_IP_PAIR parsing
authorVladislav Grishenko <themiron@mail.ru>
Sun, 17 Oct 2010 10:27:50 +0000 (12:27 +0200)
committerDenys Vlasenko <vda.linux@googlemail.com>
Sun, 17 Oct 2010 10:27:50 +0000 (12:27 +0200)
commitad8def2d8ad980a5b759c32a220828ea1248e5b6
treefdb7ed18d48a2957fc5f7481a07e60b78efab042
parentcfe114c4f3d4e1dfc00196d8df316874eaf2d2b8
udhcpc: fix OPTION_IP_PAIR parsing

http://git.busybox.net/busybox/commit/?id=7d3a48a003cd645edfae2b404493688022
revealed incorrect OPTION_IP_PAIR implementation, which doesn't respect
option length and causes erroneous classful routes, composed from garbage
or first bytes from the next DHCP packet option.

Signed-off-by: Vladislav Grishenko <themiron@mail.ru>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
networking/udhcp/dhcpc.c