diff options
Diffstat (limited to 'src/conntrack/parse.c')
-rw-r--r-- | src/conntrack/parse.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/conntrack/parse.c b/src/conntrack/parse.c index 60dabe4..b7fe0f6 100644 --- a/src/conntrack/parse.c +++ b/src/conntrack/parse.c @@ -516,4 +516,9 @@ void __parse_conntrack(const struct nlmsghdr *nlh, if (cda[CTA_HELP-1]) __parse_helper(cda[CTA_HELP-1], ct); + + if (cda[CTA_ZONE-1]) { + ct->zone = ntohs(*(u_int16_t *)NFA_DATA(cda[CTA_ZONE-1])); + set_bit(ATTR_ZONE, ct->set); + } } |