summaryrefslogtreecommitdiffstats
path: root/sbin/route
diff options
context:
space:
mode:
authorngie <ngie@FreeBSD.org>2017-03-27 18:24:17 +0000
committerngie <ngie@FreeBSD.org>2017-03-27 18:24:17 +0000
commit5adb62ab7602a742c3150c42d513dbc7d05b3311 (patch)
tree13ff62cce00d2eb290f41bcbb1e39fd0b5d59eea /sbin/route
parentdbb0c0010ec41428ba46740d8b2a5669ea05f1b3 (diff)
downloadFreeBSD-src-5adb62ab7602a742c3150c42d513dbc7d05b3311.zip
FreeBSD-src-5adb62ab7602a742c3150c42d513dbc7d05b3311.tar.gz
MFC r315690:
Delete trailing whitespace (no functional change)
Diffstat (limited to 'sbin/route')
-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 ee312a4..d02f8cd 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);
OpenPOWER on IntegriCloud