aboutsummaryrefslogtreecommitdiff
path: root/sbin/ipf/ippool
diff options
context:
space:
mode:
authorCy Schubert <cy@FreeBSD.org>2021-12-22 03:09:23 +0000
committerCy Schubert <cy@FreeBSD.org>2022-01-04 02:06:44 +0000
commit27fc223414670ecd20d3c6f375fc48a3cd31c889 (patch)
tree9d3bfec5abceeb1fe03b67a21dcae793ca1e48c8 /sbin/ipf/ippool
parent00a5b8c3d98df6c51cc8e0ec1e86c7363744bf7c (diff)
downloadsrc-27fc223414670ecd20d3c6f375fc48a3cd31c889.tar.gz
src-27fc223414670ecd20d3c6f375fc48a3cd31c889.zip
ipfilter userland: Remove trailing whitespace
MFC after: 1 month
Diffstat (limited to 'sbin/ipf/ippool')
-rw-r--r--sbin/ipf/ippool/ippool.c6
-rw-r--r--sbin/ipf/ippool/ippool_y.y2
2 files changed, 4 insertions, 4 deletions
diff --git a/sbin/ipf/ippool/ippool.c b/sbin/ipf/ippool/ippool.c
index d5e090759057..12c9c85800d5 100644
--- a/sbin/ipf/ippool/ippool.c
+++ b/sbin/ipf/ippool/ippool.c
@@ -1080,7 +1080,7 @@ setnodeaddr(int type, int role, void *ptr, char *arg)
node->ipn_addr.adf_len = offsetof(addrfamily_t,
adf_addr) +
sizeof(struct in6_addr);
- inet_pton(AF_INET6, arg,
+ inet_pton(AF_INET6, arg,
&node->ipn_addr.adf_addr.in6.s6_addr);
}
#endif
@@ -1099,12 +1099,12 @@ setnodeaddr(int type, int role, void *ptr, char *arg)
node->ipe_mask.in4.s_addr = mask.s_addr;
#ifdef USE_INET6
} else {
- inet_pton(AF_INET6, arg,
+ inet_pton(AF_INET6, arg,
&node->ipe_addr.in6.__u6_addr.__u6_addr32);
node->ipe_mask.in6.__u6_addr.__u6_addr32[0] =
mask.s_addr;
node->ipe_mask.in6.__u6_addr.__u6_addr32[1] =
- node->ipe_mask.in6.__u6_addr.__u6_addr32[2] =
+ node->ipe_mask.in6.__u6_addr.__u6_addr32[2] =
node->ipe_mask.in6.__u6_addr.__u6_addr32[3] = 0;
}
#endif
diff --git a/sbin/ipf/ippool/ippool_y.y b/sbin/ipf/ippool/ippool_y.y
index 9e01318a78c7..c798ff50596b 100644
--- a/sbin/ipf/ippool/ippool_y.y
+++ b/sbin/ipf/ippool/ippool_y.y
@@ -376,7 +376,7 @@ addrmask:
sizeof($$[1].adf_addr.in6));
else
#endif
- memset(&$$[1].adf_addr, 0xff,
+ memset(&$$[1].adf_addr, 0xff,
sizeof($$[1].adf_addr.in4));
}
;