diff options
author | Eric Andersen <andersen@codepoet.org> | 2004-03-15 08:29:22 +0000 |
---|---|---|
committer | Eric Andersen <andersen@codepoet.org> | 2004-03-15 08:29:22 +0000 |
commit | c7bda1ce659294d6e22c06e087f6f265983c7578 (patch) | |
tree | 4c6d2217f4d8306c59cf1096f8664e1cfd167213 /networking/libiproute/ipaddress.c | |
parent | 8854004b41065b3d081af7f3df13a100b0c8bfbe (diff) | |
download | busybox-w32-c7bda1ce659294d6e22c06e087f6f265983c7578.tar.gz busybox-w32-c7bda1ce659294d6e22c06e087f6f265983c7578.tar.bz2 busybox-w32-c7bda1ce659294d6e22c06e087f6f265983c7578.zip |
Remove trailing whitespace. Update copyright to include 2004.
Diffstat (limited to 'networking/libiproute/ipaddress.c')
-rw-r--r-- | networking/libiproute/ipaddress.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/networking/libiproute/ipaddress.c b/networking/libiproute/ipaddress.c index 44e871ee5..7e0c75785 100644 --- a/networking/libiproute/ipaddress.c +++ b/networking/libiproute/ipaddress.c | |||
@@ -91,7 +91,7 @@ static void print_queuelen(char *name) | |||
91 | 91 | ||
92 | memset(&ifr, 0, sizeof(ifr)); | 92 | memset(&ifr, 0, sizeof(ifr)); |
93 | strcpy(ifr.ifr_name, name); | 93 | strcpy(ifr.ifr_name, name); |
94 | if (ioctl(s, SIOCGIFTXQLEN, &ifr) < 0) { | 94 | if (ioctl(s, SIOCGIFTXQLEN, &ifr) < 0) { |
95 | perror("SIOCGIFXQLEN"); | 95 | perror("SIOCGIFXQLEN"); |
96 | close(s); | 96 | close(s); |
97 | return; | 97 | return; |
@@ -166,7 +166,7 @@ static int print_linkinfo(struct sockaddr_nl *who, struct nlmsghdr *n, void *arg | |||
166 | #endif | 166 | #endif |
167 | if (filter.showqueue) | 167 | if (filter.showqueue) |
168 | print_queuelen((char*)RTA_DATA(tb[IFLA_IFNAME])); | 168 | print_queuelen((char*)RTA_DATA(tb[IFLA_IFNAME])); |
169 | 169 | ||
170 | if (!filter.family || filter.family == AF_PACKET) { | 170 | if (!filter.family || filter.family == AF_PACKET) { |
171 | SPRINT_BUF(b1); | 171 | SPRINT_BUF(b1); |
172 | fprintf(fp, "%s", _SL_); | 172 | fprintf(fp, "%s", _SL_); |
@@ -378,7 +378,7 @@ static int print_selected_addrinfo(int ifindex, struct nlmsg_list *ainfo, FILE * | |||
378 | if (n->nlmsg_len < NLMSG_LENGTH(sizeof(ifa))) | 378 | if (n->nlmsg_len < NLMSG_LENGTH(sizeof(ifa))) |
379 | return -1; | 379 | return -1; |
380 | 380 | ||
381 | if (ifa->ifa_index != ifindex || | 381 | if (ifa->ifa_index != ifindex || |
382 | (filter.family && filter.family != ifa->ifa_family)) | 382 | (filter.family && filter.family != ifa->ifa_family)) |
383 | continue; | 383 | continue; |
384 | 384 | ||
@@ -564,7 +564,7 @@ extern int ipaddr_list_or_flush(int argc, char **argv, int flush) | |||
564 | struct nlmsghdr *n = &a->h; | 564 | struct nlmsghdr *n = &a->h; |
565 | struct ifaddrmsg *ifa = NLMSG_DATA(n); | 565 | struct ifaddrmsg *ifa = NLMSG_DATA(n); |
566 | 566 | ||
567 | if (ifa->ifa_index != ifi->ifi_index || | 567 | if (ifa->ifa_index != ifi->ifi_index || |
568 | (filter.family && filter.family != ifa->ifa_family)) | 568 | (filter.family && filter.family != ifa->ifa_family)) |
569 | continue; | 569 | continue; |
570 | if ((filter.scope^ifa->ifa_scope)&filter.scopemask) | 570 | if ((filter.scope^ifa->ifa_scope)&filter.scopemask) |