diff options
author | wollman <wollman@FreeBSD.org> | 2002-05-30 21:41:42 +0000 |
---|---|---|
committer | wollman <wollman@FreeBSD.org> | 2002-05-30 21:41:42 +0000 |
commit | b865e88662809fb575f4bd059e28301383661589 (patch) | |
tree | 418dceb589bf1a9eaa973cfde3efe28b83bd6ace | |
parent | ddfe2f4871fa1fb81b44b9b489c1b2eeebb94362 (diff) | |
download | FreeBSD-src-b865e88662809fb575f4bd059e28301383661589.zip FreeBSD-src-b865e88662809fb575f4bd059e28301383661589.tar.gz |
Avoid construction which results in label at end of block.
-rw-r--r-- | sbin/route/route.c | 8 |
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); } |