ifconfig: do not accept "ifconfig eth0 up 1.2.3.4/17" (ip with mask). Closes 5786
authorDenys Vlasenko <vda.linux@googlemail.com>
Sun, 20 Jan 2013 17:10:12 +0000 (18:10 +0100)
committerDenys Vlasenko <vda.linux@googlemail.com>
Sun, 20 Jan 2013 17:10:12 +0000 (18:10 +0100)
commit31dc8603eedc0140c798c9af3404a35ea190af2c
treeb8115230c65e5087d48111c3db9ebf7c90f61448
parent2f5b5beb28a3ffe9d12a19b79c453c640cee2f29
ifconfig: do not accept "ifconfig eth0 up 1.2.3.4/17" (ip with mask). Closes 5786

function                                             old     new   delta
ifconfig_main                                       1221    1237     +16

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