aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJose Luis Duran <jlduran@gmail.com>2023-12-28 03:17:17 +0000
committerWarner Losh <imp@FreeBSD.org>2023-12-28 03:24:32 +0000
commitc43829a7578630e85a1a1772d70a03a056dc53e3 (patch)
treede741b194860b634bf522927932a0ec5257e4cdd
parent3e8d8297473d3a7b51b40d83aab2c80ebf08b6d2 (diff)
downloadsrc-c43829a7578630e85a1a1772d70a03a056dc53e3.tar.gz
src-c43829a7578630e85a1a1772d70a03a056dc53e3.zip
netpfil: Fix typo (triple S)
While here, align the comment box. Reviewed by: imp Pull Request: https://github.com/freebsd/freebsd-src/pull/955
-rw-r--r--sys/netpfil/ipfilter/netinet/fil.c4
-rw-r--r--sys/netpfil/ipfilter/netinet/ip_nat.c2
2 files changed, 3 insertions, 3 deletions
diff --git a/sys/netpfil/ipfilter/netinet/fil.c b/sys/netpfil/ipfilter/netinet/fil.c
index e2e688f43a1c..926c5176c15b 100644
--- a/sys/netpfil/ipfilter/netinet/fil.c
+++ b/sys/netpfil/ipfilter/netinet/fil.c
@@ -7890,14 +7890,14 @@ ipf_genericiter(ipf_main_softc_t *softc, void *data, int uid, void *ctx)
/* ------------------------------------------------------------------------ */
/* Function: ipf_ipf_ioctl */
/* Returns: int - 0 = success, else error */
-/* Parameters: softc(I)- pointer to soft context main structure */
+/* Parameters: softc(I)- pointer to soft context main structure */
/* data(I) - the token type to match */
/* cmd(I) - the ioctl command number */
/* mode(I) - mode flags for the ioctl */
/* uid(I) - uid owning the token */
/* ptr(I) - context pointer for the token */
/* */
-/* This function handles all of the ioctl command that are actually isssued */
+/* This function handles all of the ioctl command that are actually issued */
/* to the /dev/ipl device. */
/* ------------------------------------------------------------------------ */
int
diff --git a/sys/netpfil/ipfilter/netinet/ip_nat.c b/sys/netpfil/ipfilter/netinet/ip_nat.c
index ea92a8a05897..282a2bd82037 100644
--- a/sys/netpfil/ipfilter/netinet/ip_nat.c
+++ b/sys/netpfil/ipfilter/netinet/ip_nat.c
@@ -180,7 +180,7 @@ static ipftuneable_t ipf_nat_tuneables[] = {
/* */
/* Inside (interface y) NAT Outside (interface x) */
/* -------------------- -+- ------------------------------------- */
-/* Packet going | out, processsed by ipf_nat_checkout() for x */
+/* Packet going | out, processed by ipf_nat_checkout() for x */
/* ------------> | ------------> */
/* src=10.1.1.1 | src=192.1.1.1 */
/* | */