mirror of
https://github.com/bol-van/zapret.git
synced 2024-11-13 18:28:34 +05:00
init: cosmetics
This commit is contained in:
parent
4dd8635f6b
commit
717b337291
@ -441,7 +441,7 @@ nft_fw_nfqws_post4()
|
|||||||
# $1 - filter ipv4
|
# $1 - filter ipv4
|
||||||
# $2 - queue number
|
# $2 - queue number
|
||||||
|
|
||||||
local DEVICE wan_iface rule
|
local rule
|
||||||
|
|
||||||
[ "$DISABLE_IPV4" = "1" ] || {
|
[ "$DISABLE_IPV4" = "1" ] || {
|
||||||
rule="oifname @wanif meta l4proto tcp $1 ip daddr != @nozapret"
|
rule="oifname @wanif meta l4proto tcp $1 ip daddr != @nozapret"
|
||||||
@ -454,7 +454,7 @@ nft_fw_nfqws_post6()
|
|||||||
# $1 - filter ipv6
|
# $1 - filter ipv6
|
||||||
# $2 - queue number
|
# $2 - queue number
|
||||||
|
|
||||||
local DEVICE wan_iface rule
|
local rule
|
||||||
|
|
||||||
[ "$DISABLE_IPV6" = "1" ] || {
|
[ "$DISABLE_IPV6" = "1" ] || {
|
||||||
rule="oifname @wanif6 meta l4proto tcp $1 ip6 daddr != @nozapret6"
|
rule="oifname @wanif6 meta l4proto tcp $1 ip6 daddr != @nozapret6"
|
||||||
|
@ -589,7 +589,7 @@ nft_fw_nfqws_post6()
|
|||||||
# $1 - filter ipv6
|
# $1 - filter ipv6
|
||||||
# $2 - queue number
|
# $2 - queue number
|
||||||
|
|
||||||
local DEVICE rule
|
local rule
|
||||||
|
|
||||||
[ "$DISABLE_IPV6" = "1" ] || {
|
[ "$DISABLE_IPV6" = "1" ] || {
|
||||||
nft_print_op "$1" "nfqws postrouting (qnum $2)" 6
|
nft_print_op "$1" "nfqws postrouting (qnum $2)" 6
|
||||||
|
Loading…
Reference in New Issue
Block a user