diff options
author | Glenn L McGrath | 2002-12-01 23:04:06 +0000 |
---|---|---|
committer | Glenn L McGrath | 2002-12-01 23:04:06 +0000 |
commit | f112daa232122dd114933d04a9e415cfc61f1717 (patch) | |
tree | 1e52823545fb3e20f89205fd6224017e19586c72 /networking/libiproute/ipaddress.c | |
parent | f3faf41334fab96d20854c2b4c1acab022c98028 (diff) | |
download | busybox-f112daa232122dd114933d04a9e415cfc61f1717.zip busybox-f112daa232122dd114933d04a9e415cfc61f1717.tar.gz |
Enable ip commands to be compiled seperate from ip, modifed patch from Bastian Blank
Diffstat (limited to 'networking/libiproute/ipaddress.c')
-rw-r--r-- | networking/libiproute/ipaddress.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/networking/libiproute/ipaddress.c b/networking/libiproute/ipaddress.c index dd5a914..055aadf 100644 --- a/networking/libiproute/ipaddress.c +++ b/networking/libiproute/ipaddress.c @@ -230,7 +230,6 @@ int print_addrinfo(struct sockaddr_nl *who, struct nlmsghdr *n, void *arg) if ((filter.flags^ifa->ifa_flags)&filter.flagmask) return 0; if (filter.label) { - SPRINT_BUF(b1); const char *label; if (rta_tb[IFA_LABEL]) label = RTA_DATA(rta_tb[IFA_LABEL]); @@ -541,10 +540,10 @@ int ipaddr_list_link(int argc, char **argv) return ipaddr_list(argc, argv); } -void ipaddr_reset_filter(int oneline) +void ipaddr_reset_filter(int _oneline) { memset(&filter, 0, sizeof(filter)); - filter.oneline = oneline; + filter.oneline = _oneline; } int default_scope(inet_prefix *lcl) |