mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-26 17:01:14 +00:00
ba6a48366f
Update to the latest upstream version. In this version there is a new tool with which you can convert ipsets into nftables sets. Since we are now using nftables as default firewall, this could be a useful tool for porting ipsets to nftables sets. Signed-off-by: Florian Eckert <fe@dev.tdt.de>
12 lines
305 B
Diff
12 lines
305 B
Diff
--- a/lib/ipset.c
|
|
+++ b/lib/ipset.c
|
|
@@ -1847,7 +1847,7 @@ static int ipset_xlate(struct ipset *ips
|
|
return -1;
|
|
case IPSET_CMD_LIST:
|
|
if (!set) {
|
|
- printf("list sets %s\n",
|
|
+ printf("list sets %s %s\n",
|
|
ipset_xlate_family(family), table);
|
|
} else {
|
|
printf("list set %s %s %s\n",
|