On Thu, Jan 10, 2013 at 04:29:05PM +0200, Tomasz Bursztyka wrote: > diff --git a/include/libnftables/rule.h b/include/libnftables/rule.h > index a944c00..310262a 100644 > --- a/include/libnftables/rule.h > +++ b/include/libnftables/rule.h > @@ -28,6 +28,8 @@ void *nft_rule_attr_get(struct nft_rule *r, uint16_t attr); > const char *nft_rule_attr_get_str(struct nft_rule *r, uint16_t attr); > uint64_t nft_rule_attr_get_u64(struct nft_rule *r, uint16_t attr); > > +uint8_t nft_rule_get_family(struct nft_rule *r); I have applied this with a little modification, the new interface is nft_rule_attr_get_u8 so you can retrieve the family via NFT_RULE_ATTR_FAMILY. -- To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html