Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 4 Jan 2022 11:08:58 GMT
From:      Cy Schubert <cy@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: cc3e5b372e8c - main - ipfilter userland: Fix typos
Message-ID:  <202201041108.204B8w6a064615@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by cy:

URL: https://cgit.FreeBSD.org/src/commit/?id=cc3e5b372e8cc5312649c8066ed662db7b77383b

commit cc3e5b372e8cc5312649c8066ed662db7b77383b
Author:     Cy Schubert <cy@FreeBSD.org>
AuthorDate: 2022-01-04 11:04:22 +0000
Commit:     Cy Schubert <cy@FreeBSD.org>
CommitDate: 2022-01-04 11:08:51 +0000

    ipfilter userland: Fix typos
    
    Reported by:    netchild
    Fixes:          2582ae5740181e0d2bab10003d66ae91c9b56329
    MFC after:      1 month
---
 sbin/ipf/ipf/ipf.4 | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/sbin/ipf/ipf/ipf.4 b/sbin/ipf/ipf/ipf.4
index e380b65762c1..73a17a0cc8d3 100644
--- a/sbin/ipf/ipf/ipf.4
+++ b/sbin/ipf/ipf/ipf.4
@@ -91,7 +91,7 @@ typedef struct  frentry {
         u_short fr_skip;        /* # of rules to skip */
         u_short fr_loglevel;    /* syslog log facility + priority */
         int     (*fr_func)(int, ip_t *, fr_info_t *));
-        char    fr_icode;       /* return ICMP code */;
+        char    fr_icode;       /* return ICMP code */
         char    fr_ifname[IFNAMSIZ];
 #ifdef BSD
         char    fr_oifname[IFNAMSIZ];
@@ -118,8 +118,8 @@ Flags which are recognised in fr_flags:
      FR_LOGP         0x000012   /* Log-pass */
      FR_LOGBODY      0x000020   /* log the body of packets too */
      FR_LOGFIRST     0x000040   /* log only the first packet to match */
-     FR_RETRST       0x000080   /* return a TCP RST packet if blocked */;
-     FR_RETICMP      0x000100   /* return an ICMP packet if blocked */;
+     FR_RETRST       0x000080   /* return a TCP RST packet if blocked */
+     FR_RETICMP      0x000100   /* return an ICMP packet if blocked */
      FR_FAKEICMP     0x00180    /* Return ICMP unreachable with fake source */
      FR_NOMATCH      0x000200   /* no match occured */
      FR_ACCOUNT      0x000400   /* count packet bytes */
@@ -210,7 +210,7 @@ struct	filterstats {
         u_long  fr_npkl;        /* packets unmatched and logged */
         u_long  fr_pkl;         /* packets logged */
         u_long  fr_skip;        /* packets to be logged but buffer full */
-        u_long  fr_ret;         /* packets for which a return is sent */;
+        u_long  fr_ret;         /* packets for which a return is sent */
         u_long  fr_acct;        /* packets for which counting was performed */
         u_long  fr_bnfr;        /* bad attempts to allocate fragment state */
         u_long  fr_nfr;         /* new fragment state kept */



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202201041108.204B8w6a064615>