summaryrefslogtreecommitdiff
path: root/sbin/route/show.c
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1998-07-09 01:32:13 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1998-07-09 01:32:13 +0000
commitd100b8181be908c10cae5874020a9ce7661ce01f (patch)
treee848d7d2c99e85d901646def9c6847048a0e3c9b /sbin/route/show.c
parent1a05ad363f8c15fa14c3ecf315cb1ee8b1518062 (diff)
indent
Diffstat (limited to 'sbin/route/show.c')
-rw-r--r--sbin/route/show.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/sbin/route/show.c b/sbin/route/show.c
index 0d3ae3ba673..527dd1fa5d6 100644
--- a/sbin/route/show.c
+++ b/sbin/route/show.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: show.c,v 1.5 1997/12/08 03:55:25 deraadt Exp $ */
+/* $OpenBSD: show.c,v 1.6 1998/07/09 01:32:12 deraadt Exp $ */
/* $NetBSD: show.c,v 1.1 1996/11/15 18:01:41 gwr Exp $ */
/*
@@ -38,7 +38,7 @@
#if 0
static char sccsid[] = "from: @(#)route.c 8.3 (Berkeley) 3/9/94";
#else
-static char *rcsid = "$OpenBSD: show.c,v 1.5 1997/12/08 03:55:25 deraadt Exp $";
+static char *rcsid = "$OpenBSD: show.c,v 1.6 1998/07/09 01:32:12 deraadt Exp $";
#endif
#endif /* not lint */
@@ -192,9 +192,9 @@ p_rtentry(rtm)
old_af = af;
pr_family(af);
if (af != AF_ENCAP)
- pr_rthdr();
+ pr_rthdr();
else
- pr_encaphdr();
+ pr_encaphdr();
}
if (af == AF_ENCAP) {
encap_print(rtm);
@@ -330,7 +330,7 @@ p_sockaddr(sa, flags, width)
while (s < slim && cp < cplim) {
cp += sprintf(cp, " %02x", *s++);
if (s < slim)
- cp += sprintf(cp, "%02x", *s++);
+ cp += sprintf(cp, "%02x", *s++);
}
cp = workbuf;
}