error was:
nft create set inet filter keepalived_ranges4 { type inet_service . ifname \; }
Error: Empty string is not allowed
This was fixed in
6b00b9537e181 ("evaluate: skip evaluation of datatype concatenations").
Signed-off-by: Florian Westphal <fw@strlen.de>
elements = { \"eth0\" }
}
+ set sc {
+ type inet_service . ifname
+ elements = { \"ssh\" . \"eth0\" }
+ }
+
chain c {
iifname @s accept
oifname @s accept
+ tcp dport . meta iifname @sc accept
}
}"
elements = { "eth0" }
}
+ set sc {
+ type inet_service . ifname
+ elements = { 22 . "eth0" }
+ }
+
chain c {
iifname @s accept
oifname @s accept
+ tcp dport . iifname @sc accept
}
}