Browse Source

wireguard docs: check DEVICE is not null

pull/127/head
bol-van 3 years ago
parent
commit
ae499efa3a
  1. 1
      docs/wireguard/wireguard_iproute_openwrt.txt

1
docs/wireguard/wireguard_iproute_openwrt.txt

@ -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

Loading…
Cancel
Save