aboutsummaryrefslogtreecommitdiff
path: root/networking/libiproute/ipaddress.c
diff options
context:
space:
mode:
Diffstat (limited to 'networking/libiproute/ipaddress.c')
-rw-r--r--networking/libiproute/ipaddress.c10
1 files changed, 4 insertions, 6 deletions
diff --git a/networking/libiproute/ipaddress.c b/networking/libiproute/ipaddress.c
index 1be03a6c3..397a8ee34 100644
--- a/networking/libiproute/ipaddress.c
+++ b/networking/libiproute/ipaddress.c
@@ -1,13 +1,11 @@
1/* vi: set sw=4 ts=4: */ 1/* vi: set sw=4 ts=4: */
2/* 2/*
3 * ipaddress.c "ip address".
4 *
5 * Licensed under GPLv2 or later, see file LICENSE in this source tree. 3 * Licensed under GPLv2 or later, see file LICENSE in this source tree.
6 * 4 *
7 * Authors: Alexey Kuznetsov, <kuznet@ms2.inr.ac.ru> 5 * Authors: Alexey Kuznetsov, <kuznet@ms2.inr.ac.ru>
8 * 6 *
9 * Changes: 7 * Changes:
10 * Laszlo Valko <valko@linux.karinthy.hu> 990223: address label must be zero terminated 8 * Laszlo Valko <valko@linux.karinthy.hu> 990223: address label must be zero terminated
11 */ 9 */
12 10
13#include <fnmatch.h> 11#include <fnmatch.h>
@@ -20,7 +18,7 @@
20 18
21#ifndef IFF_LOWER_UP 19#ifndef IFF_LOWER_UP
22/* from linux/if.h */ 20/* from linux/if.h */
23#define IFF_LOWER_UP 0x10000 /* driver signals L1 up*/ 21#define IFF_LOWER_UP 0x10000 /* driver signals L1 up */
24#endif 22#endif
25 23
26struct filter_t { 24struct filter_t {
@@ -365,7 +363,7 @@ static int FAST_FUNC print_addrinfo(const struct sockaddr_nl *who UNUSED_PARAM,
365 363
366struct nlmsg_list { 364struct nlmsg_list {
367 struct nlmsg_list *next; 365 struct nlmsg_list *next;
368 struct nlmsghdr h; 366 struct nlmsghdr h;
369}; 367};
370 368
371static int print_selected_addrinfo(int ifindex, struct nlmsg_list *ainfo) 369static int print_selected_addrinfo(int ifindex, struct nlmsg_list *ainfo)