From: Jeremy Sowden <jeremy@azazel.net>
To: Jan Engelhardt <jengelh@inai.de>
Cc: Netfilter Devel <netfilter-devel@vger.kernel.org>,
"Thomas B . Clark" <kernel@clark.bz>
Subject: [PATCH xtables-addons 2/3] xt_geoip: white-space fixes.
Date: Sat, 30 Nov 2019 17:02:18 +0000 [thread overview]
Message-ID: <20191130170219.368867-4-jeremy@azazel.net> (raw)
In-Reply-To: <20191130170219.368867-1-jeremy@azazel.net>
Fix the indentation of some xt_geoip module function parameters.
Signed-off-by: Jeremy Sowden <jeremy@azazel.net>
---
extensions/xt_geoip.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/extensions/xt_geoip.c b/extensions/xt_geoip.c
index 27e60a4643b7..d64d951f19a9 100644
--- a/extensions/xt_geoip.c
+++ b/extensions/xt_geoip.c
@@ -140,7 +140,7 @@ static void geoip_try_remove_node(struct geoip_country_kernel *p)
}
static struct geoip_country_kernel *find_node(unsigned short cc,
- enum geoip_proto proto)
+ enum geoip_proto proto)
{
struct geoip_country_kernel *p;
spin_lock(&geoip_lock);
@@ -172,7 +172,7 @@ ipv6_cmp(const struct in6_addr *p, const struct in6_addr *q)
}
static bool geoip_bsearch6(const struct geoip_subnet6 *range,
- const struct in6_addr *addr, int lo, int hi)
+ const struct in6_addr *addr, int lo, int hi)
{
int mid;
@@ -227,7 +227,7 @@ xt_geoip_mt6(const struct sk_buff *skb, struct xt_action_param *par)
}
static bool geoip_bsearch4(const struct geoip_subnet4 *range,
- uint32_t addr, int lo, int hi)
+ uint32_t addr, int lo, int hi)
{
int mid;
--
2.24.0
next prev parent reply other threads:[~2019-11-30 17:02 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-08-11 12:52 geoip doesn't work with ipv6 Thomas B. Clark
2019-11-30 15:24 ` Jeremy Sowden
2019-11-30 17:02 ` [PATCH xtables-addons 0/3] xt_geoip: ipv6 fixes Jeremy Sowden
2019-11-30 17:02 ` [PATCH xtables-addons 1/3] configure: Fix max. supported kernel version Jeremy Sowden
2019-11-30 17:05 ` Jeremy Sowden
2019-11-30 17:02 ` [PATCH xtables-addons 1/3] configure: update " Jeremy Sowden
2019-11-30 17:02 ` Jeremy Sowden [this message]
2019-11-30 17:02 ` [PATCH xtables-addons 3/3] xt_geoip: fix in6_addr little-endian byte-swapping Jeremy Sowden
2019-11-30 17:11 ` Jeremy Sowden
2019-11-30 17:58 ` [PATCH xtables-addons v2 0/3] xt_geoip: ipv6 fixes Jeremy Sowden
2019-11-30 17:58 ` [PATCH xtables-addons v2 1/3] configure: update max. supported kernel version Jeremy Sowden
2019-11-30 17:58 ` [PATCH xtables-addons v2 2/3] xt_geoip: white-space fixes Jeremy Sowden
2019-11-30 17:58 ` [PATCH xtables-addons v2 3/3] xt_geoip: fix in6_addr little-endian byte-swapping Jeremy Sowden
2019-12-01 10:34 ` [PATCH xtables-addons v2 0/3] xt_geoip: ipv6 fixes Jan Engelhardt
2019-12-01 14:00 ` Jeremy Sowden
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20191130170219.368867-4-jeremy@azazel.net \
--to=jeremy@azazel.net \
--cc=jengelh@inai.de \
--cc=kernel@clark.bz \
--cc=netfilter-devel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).