summaryrefslogtreecommitdiffstats
path: root/kernel/ip_set_ipportnethash.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/ip_set_ipportnethash.c')
-rw-r--r--kernel/ip_set_ipportnethash.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/kernel/ip_set_ipportnethash.c b/kernel/ip_set_ipportnethash.c
index e0bb352..2680cd9 100644
--- a/kernel/ip_set_ipportnethash.c
+++ b/kernel/ip_set_ipportnethash.c
@@ -116,8 +116,8 @@ ipportnethash_utest(struct ip_set *set, const void *data, u_int32_t size)
if (flags[2] == 0) \
return 0; \
\
- port = get_port(skb, flags++); \
- ip1 = ipaddr(skb, flags++); \
+ port = get_port(skb, ++flags); \
+ ip1 = ipaddr(skb, ++flags); \
\
if (port == INVALID_PORT) \
return 0;