diff options
author | Denys Vlasenko <dvlasenk@redhat.com> | 2010-10-29 11:46:52 +0200 |
---|---|---|
committer | Denys Vlasenko <dvlasenk@redhat.com> | 2010-10-29 11:46:52 +0200 |
commit | fb132e47370378474c68ad22c1c0cb2ccee178de (patch) | |
tree | 4f78d0fdd1c2fa2341c7d9bb17f9d98d099a238c /networking/libiproute | |
parent | 66cb7bed33da605674c3d24734466b8e8a60e337 (diff) | |
download | busybox-w32-fb132e47370378474c68ad22c1c0cb2ccee178de.tar.gz busybox-w32-fb132e47370378474c68ad22c1c0cb2ccee178de.tar.bz2 busybox-w32-fb132e47370378474c68ad22c1c0cb2ccee178de.zip |
whitespace cleanup
Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
Diffstat (limited to 'networking/libiproute')
-rw-r--r-- | networking/libiproute/ip_parse_common_args.c | 15 | ||||
-rw-r--r-- | networking/libiproute/ipaddress.c | 10 | ||||
-rw-r--r-- | networking/libiproute/iplink.c | 6 | ||||
-rw-r--r-- | networking/libiproute/iproute.c | 15 | ||||
-rw-r--r-- | networking/libiproute/iprule.c | 21 | ||||
-rw-r--r-- | networking/libiproute/iptunnel.c | 10 | ||||
-rw-r--r-- | networking/libiproute/libnetlink.c | 12 | ||||
-rw-r--r-- | networking/libiproute/libnetlink.h | 10 | ||||
-rw-r--r-- | networking/libiproute/ll_addr.c | 12 | ||||
-rw-r--r-- | networking/libiproute/ll_map.c | 15 | ||||
-rw-r--r-- | networking/libiproute/ll_proto.c | 12 | ||||
-rw-r--r-- | networking/libiproute/ll_types.c | 12 | ||||
-rw-r--r-- | networking/libiproute/rt_names.c | 12 | ||||
-rw-r--r-- | networking/libiproute/rtm_map.c | 13 | ||||
-rw-r--r-- | networking/libiproute/utils.c | 4 | ||||
-rw-r--r-- | networking/libiproute/utils.h | 6 |
16 files changed, 79 insertions, 106 deletions
diff --git a/networking/libiproute/ip_parse_common_args.c b/networking/libiproute/ip_parse_common_args.c index bf01528c4..59c759b23 100644 --- a/networking/libiproute/ip_parse_common_args.c +++ b/networking/libiproute/ip_parse_common_args.c | |||
@@ -1,18 +1,15 @@ | |||
1 | /* vi: set sw=4 ts=4: */ | 1 | /* vi: set sw=4 ts=4: */ |
2 | /* | 2 | /* |
3 | * ip.c "ip" utility frontend. | 3 | * This program is free software; you can redistribute it and/or |
4 | * | 4 | * modify it under the terms of the GNU General Public License |
5 | * This program is free software; you can redistribute it and/or | 5 | * as published by the Free Software Foundation; either version |
6 | * modify it under the terms of the GNU General Public License | 6 | * 2 of the License, or (at your option) any later version. |
7 | * as published by the Free Software Foundation; either version | ||
8 | * 2 of the License, or (at your option) any later version. | ||
9 | * | ||
10 | * Authors: Alexey Kuznetsov, <kuznet@ms2.inr.ac.ru> | ||
11 | * | 7 | * |
8 | * Authors: Alexey Kuznetsov, <kuznet@ms2.inr.ac.ru> | ||
12 | * | 9 | * |
13 | * Changes: | 10 | * Changes: |
14 | * | 11 | * |
15 | * Rani Assaf <rani@magic.metawire.com> 980929: resolve addresses | 12 | * Rani Assaf <rani@magic.metawire.com> 980929: resolve addresses |
16 | */ | 13 | */ |
17 | 14 | ||
18 | #include "ip_common.h" /* #include "libbb.h" is inside */ | 15 | #include "ip_common.h" /* #include "libbb.h" is inside */ |
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 | ||
26 | struct filter_t { | 24 | struct filter_t { |
@@ -365,7 +363,7 @@ static int FAST_FUNC print_addrinfo(const struct sockaddr_nl *who UNUSED_PARAM, | |||
365 | 363 | ||
366 | struct nlmsg_list { | 364 | struct nlmsg_list { |
367 | struct nlmsg_list *next; | 365 | struct nlmsg_list *next; |
368 | struct nlmsghdr h; | 366 | struct nlmsghdr h; |
369 | }; | 367 | }; |
370 | 368 | ||
371 | static int print_selected_addrinfo(int ifindex, struct nlmsg_list *ainfo) | 369 | static int print_selected_addrinfo(int ifindex, struct nlmsg_list *ainfo) |
diff --git a/networking/libiproute/iplink.c b/networking/libiproute/iplink.c index c5ba294aa..5a86ce678 100644 --- a/networking/libiproute/iplink.c +++ b/networking/libiproute/iplink.c | |||
@@ -296,9 +296,9 @@ static int do_change(char **argv, const unsigned rtm) | |||
296 | }; | 296 | }; |
297 | struct rtnl_handle rth; | 297 | struct rtnl_handle rth; |
298 | struct { | 298 | struct { |
299 | struct nlmsghdr n; | 299 | struct nlmsghdr n; |
300 | struct ifinfomsg i; | 300 | struct ifinfomsg i; |
301 | char buf[1024]; | 301 | char buf[1024]; |
302 | } req; | 302 | } req; |
303 | smalluint arg; | 303 | smalluint arg; |
304 | char *name_str = NULL, *link_str = NULL, *type_str = NULL, *dev_str = NULL; | 304 | char *name_str = NULL, *link_str = NULL, *type_str = NULL, *dev_str = NULL; |
diff --git a/networking/libiproute/iproute.c b/networking/libiproute/iproute.c index 1696e6a34..f66774afe 100644 --- a/networking/libiproute/iproute.c +++ b/networking/libiproute/iproute.c | |||
@@ -1,19 +1,16 @@ | |||
1 | /* vi: set sw=4 ts=4: */ | 1 | /* vi: set sw=4 ts=4: */ |
2 | /* | 2 | /* |
3 | * iproute.c "ip route". | ||
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 | * | ||
9 | * | 6 | * |
10 | * Changes: | 7 | * Changes: |
11 | * | 8 | * |
12 | * Rani Assaf <rani@magic.metawire.com> 980929: resolve addresses | 9 | * Rani Assaf <rani@magic.metawire.com> 980929: resolve addresses |
13 | * Kunihiro Ishiguro <kunihiro@zebra.org> 001102: rtnh_ifindex was not initialized | 10 | * Kunihiro Ishiguro <kunihiro@zebra.org> 001102: rtnh_ifindex was not initialized |
14 | */ | 11 | */ |
15 | 12 | ||
16 | #include "ip_common.h" /* #include "libbb.h" is inside */ | 13 | #include "ip_common.h" /* #include "libbb.h" is inside */ |
17 | #include "rt_names.h" | 14 | #include "rt_names.h" |
18 | #include "utils.h" | 15 | #include "utils.h" |
19 | 16 | ||
@@ -327,9 +324,9 @@ IF_FEATURE_IP_RULE(ARG_table,) | |||
327 | }; | 324 | }; |
328 | struct rtnl_handle rth; | 325 | struct rtnl_handle rth; |
329 | struct { | 326 | struct { |
330 | struct nlmsghdr n; | 327 | struct nlmsghdr n; |
331 | struct rtmsg r; | 328 | struct rtmsg r; |
332 | char buf[1024]; | 329 | char buf[1024]; |
333 | } req; | 330 | } req; |
334 | char mxbuf[256]; | 331 | char mxbuf[256]; |
335 | struct rtattr * mxrta = (void*)mxbuf; | 332 | struct rtattr * mxrta = (void*)mxbuf; |
diff --git a/networking/libiproute/iprule.c b/networking/libiproute/iprule.c index 3af6a83a8..dd3265c7c 100644 --- a/networking/libiproute/iprule.c +++ b/networking/libiproute/iprule.c | |||
@@ -1,18 +1,15 @@ | |||
1 | /* vi: set sw=4 ts=4: */ | 1 | /* vi: set sw=4 ts=4: */ |
2 | /* | 2 | /* |
3 | * iprule.c "ip rule". | 3 | * This program is free software; you can redistribute it and/or |
4 | * | 4 | * modify it under the terms of the GNU General Public License |
5 | * This program is free software; you can redistribute it and/or | 5 | * as published by the Free Software Foundation; either version |
6 | * modify it under the terms of the GNU General Public License | 6 | * 2 of the License, or (at your option) any later version. |
7 | * as published by the Free Software Foundation; either version | ||
8 | * 2 of the License, or (at your option) any later version. | ||
9 | * | ||
10 | * Authors: Alexey Kuznetsov, <kuznet@ms2.inr.ac.ru> | ||
11 | * | 7 | * |
8 | * Authors: Alexey Kuznetsov, <kuznet@ms2.inr.ac.ru> | ||
12 | * | 9 | * |
13 | * Changes: | 10 | * Changes: |
14 | * | 11 | * |
15 | * Rani Assaf <rani@magic.metawire.com> 980929: resolve addresses | 12 | * Rani Assaf <rani@magic.metawire.com> 980929: resolve addresses |
16 | * initially integrated into busybox by Bernhard Reutner-Fischer | 13 | * initially integrated into busybox by Bernhard Reutner-Fischer |
17 | */ | 14 | */ |
18 | 15 | ||
@@ -191,9 +188,9 @@ static int iprule_modify(int cmd, char **argv) | |||
191 | bool table_ok = 0; | 188 | bool table_ok = 0; |
192 | struct rtnl_handle rth; | 189 | struct rtnl_handle rth; |
193 | struct { | 190 | struct { |
194 | struct nlmsghdr n; | 191 | struct nlmsghdr n; |
195 | struct rtmsg r; | 192 | struct rtmsg r; |
196 | char buf[1024]; | 193 | char buf[1024]; |
197 | } req; | 194 | } req; |
198 | smalluint key; | 195 | smalluint key; |
199 | 196 | ||
diff --git a/networking/libiproute/iptunnel.c b/networking/libiproute/iptunnel.c index bce373d05..5942feafc 100644 --- a/networking/libiproute/iptunnel.c +++ b/networking/libiproute/iptunnel.c | |||
@@ -1,16 +1,14 @@ | |||
1 | /* vi: set sw=4 ts=4: */ | 1 | /* vi: set sw=4 ts=4: */ |
2 | /* | 2 | /* |
3 | * iptunnel.c "ip tunnel" | ||
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 | * | 8 | * |
11 | * Rani Assaf <rani@magic.metawire.com> 980929: resolve addresses | 9 | * Rani Assaf <rani@magic.metawire.com> 980929: resolve addresses |
12 | * Rani Assaf <rani@magic.metawire.com> 980930: do not allow key for ipip/sit | 10 | * Rani Assaf <rani@magic.metawire.com> 980930: do not allow key for ipip/sit |
13 | * Phil Karn <karn@ka9q.ampr.org> 990408: "pmtudisc" flag | 11 | * Phil Karn <karn@ka9q.ampr.org> 990408: "pmtudisc" flag |
14 | */ | 12 | */ |
15 | 13 | ||
16 | #include <netinet/ip.h> | 14 | #include <netinet/ip.h> |
diff --git a/networking/libiproute/libnetlink.c b/networking/libiproute/libnetlink.c index 8da80b2fc..3a37d97f8 100644 --- a/networking/libiproute/libnetlink.c +++ b/networking/libiproute/libnetlink.c | |||
@@ -74,8 +74,8 @@ int FAST_FUNC rtnl_dump_request(struct rtnl_handle *rth, int type, void *req, in | |||
74 | struct iovec iov[2] = { { &nlh, sizeof(nlh) }, { req, len } }; | 74 | struct iovec iov[2] = { { &nlh, sizeof(nlh) }, { req, len } }; |
75 | struct msghdr msg = { | 75 | struct msghdr msg = { |
76 | (void*)&nladdr, sizeof(nladdr), | 76 | (void*)&nladdr, sizeof(nladdr), |
77 | iov, 2, | 77 | iov, 2, |
78 | NULL, 0, | 78 | NULL, 0, |
79 | 0 | 79 | 0 |
80 | }; | 80 | }; |
81 | 81 | ||
@@ -108,8 +108,8 @@ static int rtnl_dump_filter(struct rtnl_handle *rth, | |||
108 | 108 | ||
109 | struct msghdr msg = { | 109 | struct msghdr msg = { |
110 | (void*)&nladdr, sizeof(nladdr), | 110 | (void*)&nladdr, sizeof(nladdr), |
111 | &iov, 1, | 111 | &iov, 1, |
112 | NULL, 0, | 112 | NULL, 0, |
113 | 0 | 113 | 0 |
114 | }; | 114 | }; |
115 | 115 | ||
@@ -214,8 +214,8 @@ int FAST_FUNC rtnl_talk(struct rtnl_handle *rtnl, struct nlmsghdr *n, | |||
214 | char *buf = xmalloc(8*1024); /* avoid big stack buffer */ | 214 | char *buf = xmalloc(8*1024); /* avoid big stack buffer */ |
215 | struct msghdr msg = { | 215 | struct msghdr msg = { |
216 | (void*)&nladdr, sizeof(nladdr), | 216 | (void*)&nladdr, sizeof(nladdr), |
217 | &iov, 1, | 217 | &iov, 1, |
218 | NULL, 0, | 218 | NULL, 0, |
219 | 0 | 219 | 0 |
220 | }; | 220 | }; |
221 | 221 | ||
diff --git a/networking/libiproute/libnetlink.h b/networking/libiproute/libnetlink.h index 4e4d5b7b9..51bee2d67 100644 --- a/networking/libiproute/libnetlink.h +++ b/networking/libiproute/libnetlink.h | |||
@@ -11,11 +11,11 @@ | |||
11 | PUSH_AND_SET_FUNCTION_VISIBILITY_TO_HIDDEN | 11 | PUSH_AND_SET_FUNCTION_VISIBILITY_TO_HIDDEN |
12 | 12 | ||
13 | struct rtnl_handle { | 13 | struct rtnl_handle { |
14 | int fd; | 14 | int fd; |
15 | struct sockaddr_nl local; | 15 | struct sockaddr_nl local; |
16 | struct sockaddr_nl peer; | 16 | struct sockaddr_nl peer; |
17 | uint32_t seq; | 17 | uint32_t seq; |
18 | uint32_t dump; | 18 | uint32_t dump; |
19 | }; | 19 | }; |
20 | 20 | ||
21 | extern void xrtnl_open(struct rtnl_handle *rth) FAST_FUNC; | 21 | extern void xrtnl_open(struct rtnl_handle *rth) FAST_FUNC; |
diff --git a/networking/libiproute/ll_addr.c b/networking/libiproute/ll_addr.c index c2c01305d..33a54ea6c 100644 --- a/networking/libiproute/ll_addr.c +++ b/networking/libiproute/ll_addr.c | |||
@@ -1,13 +1,11 @@ | |||
1 | /* vi: set sw=4 ts=4: */ | 1 | /* vi: set sw=4 ts=4: */ |
2 | /* | 2 | /* |
3 | * ll_addr.c | 3 | * This program is free software; you can redistribute it and/or |
4 | * modify it under the terms of the GNU General Public License | ||
5 | * as published by the Free Software Foundation; either version | ||
6 | * 2 of the License, or (at your option) any later version. | ||
4 | * | 7 | * |
5 | * This program is free software; you can redistribute it and/or | 8 | * Authors: Alexey Kuznetsov, <kuznet@ms2.inr.ac.ru> |
6 | * modify it under the terms of the GNU General Public License | ||
7 | * as published by the Free Software Foundation; either version | ||
8 | * 2 of the License, or (at your option) any later version. | ||
9 | * | ||
10 | * Authors: Alexey Kuznetsov, <kuznet@ms2.inr.ac.ru> | ||
11 | */ | 9 | */ |
12 | 10 | ||
13 | #include <net/if_arp.h> | 11 | #include <net/if_arp.h> |
diff --git a/networking/libiproute/ll_map.c b/networking/libiproute/ll_map.c index 246b9e33a..27cd90f34 100644 --- a/networking/libiproute/ll_map.c +++ b/networking/libiproute/ll_map.c | |||
@@ -1,17 +1,14 @@ | |||
1 | /* vi: set sw=4 ts=4: */ | 1 | /* vi: set sw=4 ts=4: */ |
2 | /* | 2 | /* |
3 | * ll_map.c | 3 | * This program is free software; you can redistribute it and/or |
4 | * | 4 | * modify it under the terms of the GNU General Public License |
5 | * This program is free software; you can redistribute it and/or | 5 | * as published by the Free Software Foundation; either version |
6 | * modify it under the terms of the GNU General Public License | 6 | * 2 of the License, or (at your option) any later version. |
7 | * as published by the Free Software Foundation; either version | ||
8 | * 2 of the License, or (at your option) any later version. | ||
9 | * | ||
10 | * Authors: Alexey Kuznetsov, <kuznet@ms2.inr.ac.ru> | ||
11 | * | 7 | * |
8 | * Authors: Alexey Kuznetsov, <kuznet@ms2.inr.ac.ru> | ||
12 | */ | 9 | */ |
13 | 10 | ||
14 | #include <net/if.h> /* struct ifreq and co. */ | 11 | #include <net/if.h> /* struct ifreq and co. */ |
15 | 12 | ||
16 | #include "libbb.h" | 13 | #include "libbb.h" |
17 | #include "libnetlink.h" | 14 | #include "libnetlink.h" |
diff --git a/networking/libiproute/ll_proto.c b/networking/libiproute/ll_proto.c index 1cd576f1d..04925ecf6 100644 --- a/networking/libiproute/ll_proto.c +++ b/networking/libiproute/ll_proto.c | |||
@@ -1,13 +1,11 @@ | |||
1 | /* vi: set sw=4 ts=4: */ | 1 | /* vi: set sw=4 ts=4: */ |
2 | /* | 2 | /* |
3 | * ll_proto.c | 3 | * This program is free software; you can redistribute it and/or |
4 | * modify it under the terms of the GNU General Public License | ||
5 | * as published by the Free Software Foundation; either version | ||
6 | * 2 of the License, or (at your option) any later version. | ||
4 | * | 7 | * |
5 | * This program is free software; you can redistribute it and/or | 8 | * Authors: Alexey Kuznetsov, <kuznet@ms2.inr.ac.ru> |
6 | * modify it under the terms of the GNU General Public License | ||
7 | * as published by the Free Software Foundation; either version | ||
8 | * 2 of the License, or (at your option) any later version. | ||
9 | * | ||
10 | * Authors: Alexey Kuznetsov, <kuznet@ms2.inr.ac.ru> | ||
11 | */ | 9 | */ |
12 | 10 | ||
13 | #include "libbb.h" | 11 | #include "libbb.h" |
diff --git a/networking/libiproute/ll_types.c b/networking/libiproute/ll_types.c index 3861c2870..38b6c0516 100644 --- a/networking/libiproute/ll_types.c +++ b/networking/libiproute/ll_types.c | |||
@@ -1,13 +1,11 @@ | |||
1 | /* vi: set sw=4 ts=4: */ | 1 | /* vi: set sw=4 ts=4: */ |
2 | /* | 2 | /* |
3 | * ll_types.c | 3 | * This program is free software; you can redistribute it and/or |
4 | * modify it under the terms of the GNU General Public License | ||
5 | * as published by the Free Software Foundation; either version | ||
6 | * 2 of the License, or (at your option) any later version. | ||
4 | * | 7 | * |
5 | * This program is free software; you can redistribute it and/or | 8 | * Authors: Alexey Kuznetsov, <kuznet@ms2.inr.ac.ru> |
6 | * modify it under the terms of the GNU General Public License | ||
7 | * as published by the Free Software Foundation; either version | ||
8 | * 2 of the License, or (at your option) any later version. | ||
9 | * | ||
10 | * Authors: Alexey Kuznetsov, <kuznet@ms2.inr.ac.ru> | ||
11 | */ | 9 | */ |
12 | #include <arpa/inet.h> | 10 | #include <arpa/inet.h> |
13 | #include <linux/if_arp.h> | 11 | #include <linux/if_arp.h> |
diff --git a/networking/libiproute/rt_names.c b/networking/libiproute/rt_names.c index 8dd16e3d3..c474ab903 100644 --- a/networking/libiproute/rt_names.c +++ b/networking/libiproute/rt_names.c | |||
@@ -1,13 +1,11 @@ | |||
1 | /* vi: set sw=4 ts=4: */ | 1 | /* vi: set sw=4 ts=4: */ |
2 | /* | 2 | /* |
3 | * rt_names.c rtnetlink names DB. | 3 | * This program is free software; you can redistribute it and/or |
4 | * modify it under the terms of the GNU General Public License | ||
5 | * as published by the Free Software Foundation; either version | ||
6 | * 2 of the License, or (at your option) any later version. | ||
4 | * | 7 | * |
5 | * This program is free software; you can redistribute it and/or | 8 | * Authors: Alexey Kuznetsov, <kuznet@ms2.inr.ac.ru> |
6 | * modify it under the terms of the GNU General Public License | ||
7 | * as published by the Free Software Foundation; either version | ||
8 | * 2 of the License, or (at your option) any later version. | ||
9 | * | ||
10 | * Authors: Alexey Kuznetsov, <kuznet@ms2.inr.ac.ru> | ||
11 | */ | 9 | */ |
12 | #include "libbb.h" | 10 | #include "libbb.h" |
13 | #include "rt_names.h" | 11 | #include "rt_names.h" |
diff --git a/networking/libiproute/rtm_map.c b/networking/libiproute/rtm_map.c index 5e358e105..3bab53baf 100644 --- a/networking/libiproute/rtm_map.c +++ b/networking/libiproute/rtm_map.c | |||
@@ -1,14 +1,11 @@ | |||
1 | /* vi: set sw=4 ts=4: */ | 1 | /* vi: set sw=4 ts=4: */ |
2 | /* | 2 | /* |
3 | * rtm_map.c | 3 | * This program is free software; you can redistribute it and/or |
4 | * | 4 | * modify it under the terms of the GNU General Public License |
5 | * This program is free software; you can redistribute it and/or | 5 | * as published by the Free Software Foundation; either version |
6 | * modify it under the terms of the GNU General Public License | 6 | * 2 of the License, or (at your option) any later version. |
7 | * as published by the Free Software Foundation; either version | ||
8 | * 2 of the License, or (at your option) any later version. | ||
9 | * | ||
10 | * Authors: Alexey Kuznetsov, <kuznet@ms2.inr.ac.ru> | ||
11 | * | 7 | * |
8 | * Authors: Alexey Kuznetsov, <kuznet@ms2.inr.ac.ru> | ||
12 | */ | 9 | */ |
13 | 10 | ||
14 | #include "libbb.h" | 11 | #include "libbb.h" |
diff --git a/networking/libiproute/utils.c b/networking/libiproute/utils.c index 2b646f0ea..24698864d 100644 --- a/networking/libiproute/utils.c +++ b/networking/libiproute/utils.c | |||
@@ -4,11 +4,11 @@ | |||
4 | * | 4 | * |
5 | * Licensed under GPLv2 or later, see file LICENSE in this source tree. | 5 | * Licensed under GPLv2 or later, see file LICENSE in this source tree. |
6 | * | 6 | * |
7 | * Authors: Alexey Kuznetsov, <kuznet@ms2.inr.ac.ru> | 7 | * Authors: Alexey Kuznetsov, <kuznet@ms2.inr.ac.ru> |
8 | * | 8 | * |
9 | * Changes: | 9 | * Changes: |
10 | * | 10 | * |
11 | * Rani Assaf <rani@magic.metawire.com> 980929: resolve addresses | 11 | * Rani Assaf <rani@magic.metawire.com> 980929: resolve addresses |
12 | */ | 12 | */ |
13 | 13 | ||
14 | #include "libbb.h" | 14 | #include "libbb.h" |
diff --git a/networking/libiproute/utils.h b/networking/libiproute/utils.h index ed03e785a..93c9d25d6 100644 --- a/networking/libiproute/utils.h +++ b/networking/libiproute/utils.h | |||
@@ -17,14 +17,14 @@ extern smallint oneline; | |||
17 | extern char _SL_; | 17 | extern char _SL_; |
18 | 18 | ||
19 | #ifndef IPPROTO_ESP | 19 | #ifndef IPPROTO_ESP |
20 | #define IPPROTO_ESP 50 | 20 | #define IPPROTO_ESP 50 |
21 | #endif | 21 | #endif |
22 | #ifndef IPPROTO_AH | 22 | #ifndef IPPROTO_AH |
23 | #define IPPROTO_AH 51 | 23 | #define IPPROTO_AH 51 |
24 | #endif | 24 | #endif |
25 | 25 | ||
26 | #define SPRINT_BSIZE 64 | 26 | #define SPRINT_BSIZE 64 |
27 | #define SPRINT_BUF(x) char x[SPRINT_BSIZE] | 27 | #define SPRINT_BUF(x) char x[SPRINT_BSIZE] |
28 | 28 | ||
29 | extern void incomplete_command(void) NORETURN; | 29 | extern void incomplete_command(void) NORETURN; |
30 | 30 | ||