git: 8fa63f44e64e - main - ipfilter: remove doubled semicolons
Ed Maste
emaste at FreeBSD.org
Mon Aug 16 17:17:24 UTC 2021
The branch main has been updated by emaste:
URL: https://cgit.FreeBSD.org/src/commit/?id=8fa63f44e64ebac444a4ac6451ac5e150cdcf8b1
commit 8fa63f44e64ebac444a4ac6451ac5e150cdcf8b1
Author: Ed Maste <emaste at FreeBSD.org>
AuthorDate: 2021-08-16 17:16:23 +0000
Commit: Ed Maste <emaste at FreeBSD.org>
CommitDate: 2021-08-16 17:16:42 +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);
More information about the dev-commits-src-main
mailing list