summaryrefslogtreecommitdiffstats
path: root/usr.bin/netstat/mroute.c
diff options
context:
space:
mode:
authorobrien <obrien@FreeBSD.org>2008-01-02 23:26:11 +0000
committerobrien <obrien@FreeBSD.org>2008-01-02 23:26:11 +0000
commit74070565806ee33326b76dcdd5e1e0a86cd4e6ed (patch)
treec9e471757da087ea1d56d2bb2d36eec3defb7135 /usr.bin/netstat/mroute.c
parent34e034ebc6ca1e6cb030e381b5f003c30215034e (diff)
downloadFreeBSD-src-74070565806ee33326b76dcdd5e1e0a86cd4e6ed.zip
FreeBSD-src-74070565806ee33326b76dcdd5e1e0a86cd4e6ed.tar.gz
style(9)
+ kread is not a boolean, so check it as such + fix $FreeBSD$ Ids + denote copyrights with /*- + misc whitespace changes.
Diffstat (limited to 'usr.bin/netstat/mroute.c')
-rw-r--r--usr.bin/netstat/mroute.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/usr.bin/netstat/mroute.c b/usr.bin/netstat/mroute.c
index d3cf740..dbce318 100644
--- a/usr.bin/netstat/mroute.c
+++ b/usr.bin/netstat/mroute.c
@@ -1,4 +1,4 @@
-/*
+/*-
* Copyright (c) 1989 Stephen Deering
* Copyright (c) 1992, 1993
* The Regents of the University of California. All rights reserved.
@@ -121,7 +121,7 @@ mroutepr(u_long mfcaddr, u_long vifaddr)
printf(" %2u %6u %4d %-15.15s",
/* opposite math of add_vif() */
- vifi, v->v_threshold, v->v_rate_limit * 1000 / 1024,
+ vifi, v->v_threshold, v->v_rate_limit * 1000 / 1024,
routename(v->v_lcl_addr.s_addr));
printf(" %-15.15s", (v->v_flags & VIFF_TUNNEL) ?
routename(v->v_rmt_addr.s_addr) : "");
@@ -151,7 +151,7 @@ mroutepr(u_long mfcaddr, u_long vifaddr)
printf(" %3d ", mfc.mfc_parent);
for (vifi = 0; vifi <= maxvif; vifi++) {
if (mfc.mfc_ttls[vifi] > 0)
- printf(" %u:%u", vifi,
+ printf(" %u:%u", vifi,
mfc.mfc_ttls[vifi]);
}
printf("\n");
@@ -160,7 +160,7 @@ mroutepr(u_long mfcaddr, u_long vifaddr)
{
struct bw_meter bw_meter, *bwm;
int banner_printed2 = 0;
-
+
bwm = mfc.mfc_bw_meter;
while (bwm) {
/* XXX KVM */
OpenPOWER on IntegriCloud