commit 14d6efa8eca2edc073cbef338248f335e8061f42
parent 833b7f41a2f04cac8fc4d42f512a7c56914680d4
Author: deurzen <m.deurzen@tum.de>
Date: Sun, 10 Jan 2021 21:32:55 +0100
fixes typo
Diffstat:
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/porthide.c b/src/porthide.c
@@ -91,15 +91,15 @@ clear_hidden_lports(void)
ip_t no_ip = { 0 };
i = ips_stage1_tail;
- if (memcmp(i->ip, no_ip, (ip->version == v4 ? 4 : 16)))
+ if (memcmp(i->ip, no_ip, (i->version == v4 ? 4 : 16)))
while ((i = remove_knock_from_list(i, &i, i->ip, i->version)));
i = ips_stage2_tail;
- if (memcmp(i->ip, no_ip, (ip->version == v4 ? 4 : 16)))
+ if (memcmp(i->ip, no_ip, (i->version == v4 ? 4 : 16)))
while ((i = remove_knock_from_list(i, &i, i->ip, i->version)));
i = ips_stage3_tail;
- if (memcmp(i->ip, no_ip, (ip->version == v4 ? 4 : 16)))
+ if (memcmp(i->ip, no_ip, (i->version == v4 ? 4 : 16)))
while ((i = remove_knock_from_list(i, &i, i->ip, i->version)));
lport_list_t_ptr j;