[PATCH] iptables: Fix incorrect code
Signed-off-by: Bhaskar Dutta <bhaskar.d(a)samsung.com>
Signed-off-by: Rahul Jain <rahul.jain(a)samsung.com>
---
src/iptables.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/iptables.c b/src/iptables.c
index 47ea1c2..6feb007 100644
--- a/src/iptables.c
+++ b/src/iptables.c
@@ -3383,7 +3383,7 @@ static int parse_rule_spec(struct connman_iptables *table,
break;
if (invert)
- ctx->ip->invflags |= IP6T_INV_DSTIP;
+ ctx->ipv6->invflags |= IP6T_INV_DSTIP;
}
break;
--
2.7.4