aboutsummaryrefslogtreecommitdiff
path: root/networking/libiproute/iproute.c
diff options
context:
space:
mode:
authorTim Riker <tim@rikers.org>2006-01-25 00:08:53 +0000
committerTim Riker <tim@rikers.org>2006-01-25 00:08:53 +0000
commitc1ef7bdd8d002ae0889efcf883d0e1b7faa938d4 (patch)
tree5f329b7d0c7f20ecced0dc7581a9ba6dc720d965 /networking/libiproute/iproute.c
parentf64ff682a3d58dbb627e760e6fe1ec21d9ccdf61 (diff)
downloadbusybox-w32-c1ef7bdd8d002ae0889efcf883d0e1b7faa938d4.tar.gz
busybox-w32-c1ef7bdd8d002ae0889efcf883d0e1b7faa938d4.tar.bz2
busybox-w32-c1ef7bdd8d002ae0889efcf883d0e1b7faa938d4.zip
just whitespace
Diffstat (limited to 'networking/libiproute/iproute.c')
-rw-r--r--networking/libiproute/iproute.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/networking/libiproute/iproute.c b/networking/libiproute/iproute.c
index b622afd47..1c4f75520 100644
--- a/networking/libiproute/iproute.c
+++ b/networking/libiproute/iproute.c
@@ -286,9 +286,9 @@ static int iproute_modify(int cmd, unsigned flags, int argc, char **argv)
286{ 286{
287 struct rtnl_handle rth; 287 struct rtnl_handle rth;
288 struct { 288 struct {
289 struct nlmsghdr n; 289 struct nlmsghdr n;
290 struct rtmsg r; 290 struct rtmsg r;
291 char buf[1024]; 291 char buf[1024];
292 } req; 292 } req;
293 char mxbuf[256]; 293 char mxbuf[256];
294 struct rtattr * mxrta = (void*)mxbuf; 294 struct rtattr * mxrta = (void*)mxbuf;
@@ -648,15 +648,15 @@ static int iproute_get(int argc, char **argv)
648{ 648{
649 struct rtnl_handle rth; 649 struct rtnl_handle rth;
650 struct { 650 struct {
651 struct nlmsghdr n; 651 struct nlmsghdr n;
652 struct rtmsg r; 652 struct rtmsg r;
653 char buf[1024]; 653 char buf[1024];
654 } req; 654 } req;
655 char *idev = NULL; 655 char *idev = NULL;
656 char *odev = NULL; 656 char *odev = NULL;
657 int connected = 0; 657 int connected = 0;
658 int from_ok = 0; 658 int from_ok = 0;
659 static const char * const options[] = 659 static const char * const options[] =
660 { "from", "iif", "oif", "dev", "notify", "connected", "to", 0 }; 660 { "from", "iif", "oif", "dev", "notify", "connected", "to", 0 };
661 661
662 memset(&req, 0, sizeof(req)); 662 memset(&req, 0, sizeof(req));
@@ -816,8 +816,8 @@ static int iproute_get(int argc, char **argv)
816 816
817int do_iproute(int argc, char **argv) 817int do_iproute(int argc, char **argv)
818{ 818{
819 static const char * const ip_route_commands[] = 819 static const char * const ip_route_commands[] =
820 { "add", "append", "change", "chg", "delete", "del", "get", 820 { "add", "append", "change", "chg", "delete", "del", "get",
821 "list", "show", "prepend", "replace", "test", "flush", 0 }; 821 "list", "show", "prepend", "replace", "test", "flush", 0 };
822 int command_num = 7; 822 int command_num = 7;
823 unsigned int flags = 0; 823 unsigned int flags = 0;