aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Whitley <markw@lineo.com>2001-02-15 23:31:40 +0000
committerMark Whitley <markw@lineo.com>2001-02-15 23:31:40 +0000
commit825ae5a1665c174c9255ba3abe7ec9711d165c25 (patch)
treea4227a3204c9701385fe4156a54a703964567987
parent99806ad2bdcbbe61198e36ff921973b56e9364a6 (diff)
downloadbusybox-825ae5a1665c174c9255ba3abe7ec9711d165c25.tar.gz
Another small formatting change from Larry Doolittle.
-rw-r--r--networking/route.c10
-rw-r--r--route.c10
2 files changed, 12 insertions, 8 deletions
diff --git a/networking/route.c b/networking/route.c
index fe8fd915e..9bd4e91d2 100644
--- a/networking/route.c
+++ b/networking/route.c
@@ -15,7 +15,7 @@
* Foundation; either version 2 of the License, or (at
* your option) any later version.
*
- * $Id: route.c,v 1.4 2001/02/15 23:00:48 markw Exp $
+ * $Id: route.c,v 1.5 2001/02/15 23:31:40 markw Exp $
*
* displayroute() code added by Vladimir N. Oleynik <dzo@simtreas.ru>
* busybox style adjustments by Larry Doolittle <LRDoolittle@lbl.gov>
@@ -379,9 +379,11 @@ void displayroutes(void)
dest.s_addr = d;
gw.s_addr = g;
mask.s_addr = m;
- if(nl==1)
- printf("Kernel IP routing table\n\
-Destination\tGateway\t\tGenmask\t\tFlags Metric Ref Use Iface\n");
+ if(nl==1) {
+ printf("Kernel IP routing table\n"
+"Destination Gateway Genmask Flags Metric Ref Use Iface\n");
+ }
+
ifl = 0; /* parse flags */
if(flgs&1)
diff --git a/route.c b/route.c
index fe8fd915e..9bd4e91d2 100644
--- a/route.c
+++ b/route.c
@@ -15,7 +15,7 @@
* Foundation; either version 2 of the License, or (at
* your option) any later version.
*
- * $Id: route.c,v 1.4 2001/02/15 23:00:48 markw Exp $
+ * $Id: route.c,v 1.5 2001/02/15 23:31:40 markw Exp $
*
* displayroute() code added by Vladimir N. Oleynik <dzo@simtreas.ru>
* busybox style adjustments by Larry Doolittle <LRDoolittle@lbl.gov>
@@ -379,9 +379,11 @@ void displayroutes(void)
dest.s_addr = d;
gw.s_addr = g;
mask.s_addr = m;
- if(nl==1)
- printf("Kernel IP routing table\n\
-Destination\tGateway\t\tGenmask\t\tFlags Metric Ref Use Iface\n");
+ if(nl==1) {
+ printf("Kernel IP routing table\n"
+"Destination Gateway Genmask Flags Metric Ref Use Iface\n");
+ }
+
ifl = 0; /* parse flags */
if(flgs&1)