mirror of
https://github.com/bol-van/zapret.git
synced 2025-12-19 14:08:46 +03:00
nftables: quote interface names in ifname sets
This commit is contained in:
@@ -83,6 +83,14 @@ make_comma_list()
|
||||
shift
|
||||
make_separator_list $var , '' "$@"
|
||||
}
|
||||
make_quoted_comma_list()
|
||||
{
|
||||
# $1 - var name to receive result
|
||||
# $2,$3,... - elements
|
||||
local var="$1"
|
||||
shift
|
||||
make_separator_list $var , '"' "$@"
|
||||
}
|
||||
unique()
|
||||
{
|
||||
local i
|
||||
|
||||
Reference in New Issue
Block a user