diff options
author | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2008-10-21 12:42:45 +0000 |
---|---|---|
committer | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2008-10-21 12:42:45 +0000 |
commit | 8fbd8ac8ddad83f7ea724f12a1f5e6bf4af50f88 (patch) | |
tree | 161401339554a4326c5ad2fe8f75b8b442e29b6a /coreutils/hostid.c | |
parent | 7effd7ae99b2288452762f29cde8311ec72c2cb8 (diff) | |
download | busybox-8fbd8ac8ddad83f7ea724f12a1f5e6bf4af50f88.tar.gz |
- fix ip route rejecting dotted quads as prefix
- adjust error message for wrong prefix not to mention address
Previously e.g. ip route add 127.0.0.0/255.0.0.0 dev dummy0
was rejected, saying
ip: an inet address is expected rather than "127.0.0.0/255.0.0.0"
function old new delta
get_prefix_1 201 309 +108
get_prefix 55 73 +18
get_addr 55 73 +18
get_addr32 48 58 +10
get_addr_1 249 204 -45
.rodata 114569 114524 -45
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 4/2 up/down: 154/-90) Total: 64 bytes
Diffstat (limited to 'coreutils/hostid.c')
0 files changed, 0 insertions, 0 deletions