aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEnji Cooper <ngie@FreeBSD.org>2017-03-21 22:00:52 +0000
committerEnji Cooper <ngie@FreeBSD.org>2017-03-21 22:00:52 +0000
commitc9f1eca5c4ccaa602271dc36c94f73bd062a7c08 (patch)
treef78c86ba3b69b16f1d3e8e5e532eca3cd339427a
parentd006dde2fdfdf317c2215d0317480f661886a2f9 (diff)
downloadsrc-c9f1eca5c4ccaa602271dc36c94f73bd062a7c08.tar.gz
src-c9f1eca5c4ccaa602271dc36c94f73bd062a7c08.zip
Delete trailing whitespace (no functional change)
MFC after: 3 days Sponsored by: Dell EMC Isilon
Notes
Notes: svn path=/head/; revision=315690
-rw-r--r--sbin/route/route.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/sbin/route/route.c b/sbin/route/route.c
index b7cd342d5aa7..97da81766c79 100644
--- a/sbin/route/route.c
+++ b/sbin/route/route.c
@@ -288,7 +288,7 @@ fiboptlist_range(const char *arg, struct fibl_head_t *flh)
if (errno == 0) {
if (*endptr != '\0' ||
fib[i] < 0 ||
- (numfibs != -1 && fib[i] > numfibs - 1))
+ (numfibs != -1 && fib[i] > numfibs - 1))
errno = EINVAL;
}
if (errno)
@@ -1136,7 +1136,7 @@ inet_makenetandmask(u_long net, struct sockaddr_in *sin,
j <<= 8;
}
/* i holds the first non zero bit */
- bits = 32 - (i*8);
+ bits = 32 - (i*8);
}
if (bits != 0)
mask = 0xffffffff << (32 - bits);
@@ -1356,7 +1356,7 @@ prefixlen(const char *str)
int max;
char *p;
- rtm_addrs |= RTA_NETMASK;
+ rtm_addrs |= RTA_NETMASK;
switch (af) {
#ifdef INET6
case AF_INET6:
@@ -1390,7 +1390,7 @@ prefixlen(const char *str)
if (len < 0 || max < len)
errx(EX_USAGE, "%s: invalid prefixlen", str);
-
+
q = len >> 3;
r = len & 7;
memset((void *)p, 0, max / 8);