diff options
author | Denys Vlasenko | 2011-02-23 01:20:44 +0100 |
---|---|---|
committer | Denys Vlasenko | 2011-02-23 01:20:44 +0100 |
commit | 3bb235c3b50ca072e8bcfc20d5030f5460439c07 (patch) | |
tree | 8704db0e2526381902606da0c5ba5f7a91fc8e1e /networking/libiproute/libnetlink.c | |
parent | bac0a25f72cdf59f34638aa3fd95bb14b103c286 (diff) | |
download | busybox-3bb235c3b50ca072e8bcfc20d5030f5460439c07.zip busybox-3bb235c3b50ca072e8bcfc20d5030f5460439c07.tar.gz |
iproute: fix parsing and matching of of "short" IP addrs like 10/8
function old new delta
print_route 1613 1813 +200
get_addr_1 209 258 +49
get_prefix 393 356 -37
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 2/1 up/down: 249/-37) Total: 212 bytes
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'networking/libiproute/libnetlink.c')
-rw-r--r-- | networking/libiproute/libnetlink.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/networking/libiproute/libnetlink.c b/networking/libiproute/libnetlink.c index 547013f..c7533a4 100644 --- a/networking/libiproute/libnetlink.c +++ b/networking/libiproute/libnetlink.c @@ -393,7 +393,7 @@ void FAST_FUNC parse_rtattr(struct rtattr *tb[], int max, struct rtattr *rta, in if (rta->rta_type <= max) { tb[rta->rta_type] = rta; } - rta = RTA_NEXT(rta,len); + rta = RTA_NEXT(rta, len); } if (len) { bb_error_msg("deficit %d, rta_len=%d!", len, rta->rta_len); |