aboutsummaryrefslogtreecommitdiff
path: root/networking/libiproute/iprule.c
diff options
context:
space:
mode:
Diffstat (limited to 'networking/libiproute/iprule.c')
-rw-r--r--networking/libiproute/iprule.c21
1 files changed, 9 insertions, 12 deletions
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