Date: Thu, 19 Aug 2021 00:24:13 GMT From: Ed Maste <emaste@FreeBSD.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org Subject: git: 60833696c2e9 - stable/13 - ipfilter: remove doubled semicolons Message-ID: <202108190024.17J0OD5D053819@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch stable/13 has been updated by emaste: URL: https://cgit.FreeBSD.org/src/commit/?id=60833696c2e90ab929ac12e9da2ac2b381f02563 commit 60833696c2e90ab929ac12e9da2ac2b381f02563 Author: Ed Maste <emaste@FreeBSD.org> AuthorDate: 2021-08-16 17:16:23 +0000 Commit: Ed Maste <emaste@FreeBSD.org> CommitDate: 2021-08-19 00:23:50 +0000 ipfilter: remove doubled semicolons Local commit; ipfilter upstream is inactive. Discussed with: cy MFC after: 3 days --- sys/contrib/ipfilter/netinet/ip_frag.c | 2 +- sys/contrib/ipfilter/netinet/ip_state.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/sys/contrib/ipfilter/netinet/ip_frag.c b/sys/contrib/ipfilter/netinet/ip_frag.c index 93bcc2ed9415..4a2596e72563 100644 --- a/sys/contrib/ipfilter/netinet/ip_frag.c +++ b/sys/contrib/ipfilter/netinet/ip_frag.c @@ -1181,7 +1181,7 @@ ipf_frag_nat_next(softc, token, itp) ipftoken_t *token; ipfgeniter_t *itp; { - ipf_frag_softc_t *softf = softc->ipf_frag_soft;; + ipf_frag_softc_t *softf = softc->ipf_frag_soft; #ifdef USE_MUTEXES return ipf_frag_next(softc, token, itp, &softf->ipfr_natlist, diff --git a/sys/contrib/ipfilter/netinet/ip_state.c b/sys/contrib/ipfilter/netinet/ip_state.c index 0ebebb49297d..7918f34fe685 100644 --- a/sys/contrib/ipfilter/netinet/ip_state.c +++ b/sys/contrib/ipfilter/netinet/ip_state.c @@ -2855,8 +2855,8 @@ ipf_checkicmpmatchingstate(fin) tcp = (tcphdr_t *)((char *)oip + (IP_HL(oip) << 2)); - hv += tcp->th_dport;; - hv += tcp->th_sport;; + hv += tcp->th_dport; + hv += tcp->th_sport; hv = DOUBLE_HASH(hv); READ_ENTER(&softc->ipf_state);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202108190024.17J0OD5D053819>