summaryrefslogtreecommitdiffstats
path: root/sbin/route
diff options
context:
space:
mode:
authorwollman <wollman@FreeBSD.org>2002-05-30 21:41:42 +0000
committerwollman <wollman@FreeBSD.org>2002-05-30 21:41:42 +0000
commitb865e88662809fb575f4bd059e28301383661589 (patch)
tree418dceb589bf1a9eaa973cfde3efe28b83bd6ace /sbin/route
parentddfe2f4871fa1fb81b44b9b489c1b2eeebb94362 (diff)
downloadFreeBSD-src-b865e88662809fb575f4bd059e28301383661589.zip
FreeBSD-src-b865e88662809fb575f4bd059e28301383661589.tar.gz
Avoid construction which results in label at end of block.
Diffstat (limited to 'sbin/route')
-rw-r--r--sbin/route/route.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/sbin/route/route.c b/sbin/route/route.c
index 001dec6..55e61a2 100644
--- a/sbin/route/route.c
+++ b/sbin/route/route.c
@@ -983,12 +983,16 @@ getaddr(which, s, hpp)
switch (which) {
case RTA_DST:
forcenet++;
- /* bzero(su, sizeof(*su)); *//* for readability */
+#if 0
+ bzero(su, sizeof(*su)); /* for readability */
+#endif
(void) getaddr(RTA_NETMASK, s, 0);
break;
+#if 0
case RTA_NETMASK:
case RTA_GENMASK:
- /* bzero(su, sizeof(*su)); *//* for readability */
+ bzero(su, sizeof(*su)); /* for readability */
+#endif
}
return (0);
}
OpenPOWER on IntegriCloud