diff options
-rw-r--r-- | include/network.h | 2 | ||||
-rw-r--r-- | src/build.c | 2 |
2 files changed, 1 insertions, 3 deletions
diff --git a/include/network.h b/include/network.h index 5da1db5..6ab099f 100644 --- a/include/network.h +++ b/include/network.h @@ -185,7 +185,7 @@ enum nta_attr { NTA_PORT, /* struct nfct_attr_grp_port */ NTA_STATE = 4, /* uint8_t */ NTA_STATUS, /* uint32_t */ - NTA_TIMEOUT, /* uint32_t */ + NTA_TIMEOUT, /* uint32_t -- unused */ NTA_MARK, /* uint32_t */ NTA_MASTER_IPV4 = 8, /* struct nfct_attr_grp_ipv4 */ NTA_MASTER_IPV6, /* struct nfct_attr_grp_ipv6 */ diff --git a/src/build.c b/src/build.c index c776de8..84515cf 100644 --- a/src/build.c +++ b/src/build.c @@ -117,8 +117,6 @@ void build_netpld(struct nf_conntrack *ct, struct netpld *pld, int query) if (nfct_attr_is_set(ct, ATTR_TCP_STATE)) __build_u8(ct, ATTR_TCP_STATE, pld, NTA_STATE); - if (nfct_attr_is_set(ct, ATTR_TIMEOUT)) - __build_u32(ct, ATTR_TIMEOUT, pld, NTA_TIMEOUT); if (nfct_attr_is_set(ct, ATTR_MARK)) __build_u32(ct, ATTR_MARK, pld, NTA_MARK); |