This will be used later to identify ebtables user-defined chain policy rules. Signed-off-by: Phil Sutter <phil@xxxxxx> --- iptables/nft.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/iptables/nft.c b/iptables/nft.c index 8d0d10177f5ed..4010ccd51d5aa 100644 --- a/iptables/nft.c +++ b/iptables/nft.c @@ -1115,6 +1115,7 @@ int add_counters(struct nftnl_rule *r, uint64_t packets, uint64_t bytes) enum udata_type { UDATA_TYPE_COMMENT, + UDATA_TYPE_EBTABLES_POLICY, __UDATA_TYPE_MAX, }; #define UDATA_TYPE_MAX (__UDATA_TYPE_MAX - 1) @@ -1131,6 +1132,8 @@ static int parse_udata_cb(const struct nftnl_udata *attr, void *data) if (value[len - 1] != '\0') return -1; break; + case UDATA_TYPE_EBTABLES_POLICY: + break; default: return 0; } -- 2.20.1