diff options
author | Patrick McHardy <kaber@trash.net> | 2014-01-08 18:01:04 +0000 |
---|---|---|
committer | Patrick McHardy <kaber@trash.net> | 2014-01-08 18:01:04 +0000 |
commit | 76746098d026bdba1f3678da8febbd133e869a94 (patch) | |
tree | 0b99be9836bf4462b91dc628e629bf65f7310e91 /examples/nft-set-get.c | |
parent | 69510465b4f255b91bc79c451ece1b07c40113d8 (diff) | |
parent | 44ab5902045a5cc0aad8e145d1a32f8a3b3cc157 (diff) |
Merge branch 'next-3.14' of git.netfilter.org:libnftables into inet
Diffstat (limited to 'examples/nft-set-get.c')
-rw-r--r-- | examples/nft-set-get.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/examples/nft-set-get.c b/examples/nft-set-get.c index 6762032..b774199 100644 --- a/examples/nft-set-get.c +++ b/examples/nft-set-get.c @@ -74,8 +74,10 @@ int main(int argc, char *argv[]) family = NFPROTO_BRIDGE; else if (strcmp(argv[1], "arp") == 0) family = NFPROTO_ARP; + else if (strcmp(argv[1], "unspec") == 0) + family = NFPROTO_UNSPEC; else { - fprintf(stderr, "Unknown family: ip, ip6, bridge, arp\n"); + fprintf(stderr, "Unknown family: ip, ip6, bridge, arp, unspec\n"); exit(EXIT_FAILURE); } |