aboutsummaryrefslogtreecommitdiff
path: root/networking/libiproute/iprule.c
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2013-01-14 15:57:44 +0100
committerDenys Vlasenko <vda.linux@googlemail.com>2013-01-14 15:57:44 +0100
commit60cb48ca50fcff24aa6c3927f51e4a508fa118f4 (patch)
tree493e30821f3d484b7395ce9d9e4be39ec9a43126 /networking/libiproute/iprule.c
parentb8173b603f57dcf918a67f1ec00763ab5f4e1cf8 (diff)
downloadbusybox-w32-60cb48ca50fcff24aa6c3927f51e4a508fa118f4.tar.gz
busybox-w32-60cb48ca50fcff24aa6c3927f51e4a508fa118f4.tar.bz2
busybox-w32-60cb48ca50fcff24aa6c3927f51e4a508fa118f4.zip
whitespace cleanup. no code changes
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'networking/libiproute/iprule.c')
-rw-r--r--networking/libiproute/iprule.c14
1 files changed, 8 insertions, 6 deletions
diff --git a/networking/libiproute/iprule.c b/networking/libiproute/iprule.c
index dd3265c7c..241a6bf9d 100644
--- a/networking/libiproute/iprule.c
+++ b/networking/libiproute/iprule.c
@@ -73,15 +73,17 @@ static int FAST_FUNC print_rule(const struct sockaddr_nl *who UNUSED_PARAM,
73 if (tb[RTA_SRC]) { 73 if (tb[RTA_SRC]) {
74 if (r->rtm_src_len != host_len) { 74 if (r->rtm_src_len != host_len) {
75 printf("%s/%u", rt_addr_n2a(r->rtm_family, 75 printf("%s/%u", rt_addr_n2a(r->rtm_family,
76 RTA_DATA(tb[RTA_SRC]), 76 RTA_DATA(tb[RTA_SRC]),
77 abuf, sizeof(abuf)), 77 abuf, sizeof(abuf)),
78 r->rtm_src_len 78 r->rtm_src_len
79 ); 79 );
80 } else { 80 } else {
81 fputs(format_host(r->rtm_family, 81 fputs(format_host(r->rtm_family,
82 RTA_PAYLOAD(tb[RTA_SRC]), 82 RTA_PAYLOAD(tb[RTA_SRC]),
83 RTA_DATA(tb[RTA_SRC]), 83 RTA_DATA(tb[RTA_SRC]),
84 abuf, sizeof(abuf)), stdout); 84 abuf, sizeof(abuf)),
85 stdout
86 );
85 } 87 }
86 } else if (r->rtm_src_len) { 88 } else if (r->rtm_src_len) {
87 printf("0/%d", r->rtm_src_len); 89 printf("0/%d", r->rtm_src_len);