1
0
mirror of https://github.com/bol-van/zapret.git synced 2025-05-24 22:32:58 +03:00

wireguard docs: check DEVICE is not null

This commit is contained in:
bol-van 2022-06-18 11:43:31 +03:00
parent da05000c7f
commit ae499efa3a

@ -399,6 +399,7 @@ EOF
network_get_device DEVICE wgvps
[ -n "$DEVICE" ] &&
cat << EOF | nft -f -
add chain inet $ZAPRET_NFT_TABLE my_output { type route hook output priority mangle; }
flush chain inet $ZAPRET_NFT_TABLE my_output