Skip to content

Commit

Permalink
Fixed incorrect setting name
Browse files Browse the repository at this point in the history
  • Loading branch information
seud0nym committed Dec 31, 2024
1 parent 4cb3079 commit f46ecb2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/common/firewall/etc/init.d/tproxy
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ USE_PROCD=1
PROG=$(which tproxy-go)

RULE_COUNT=0
VERBOSE=$(uci_get tproxy config enabled 0)
VERBOSE=$(uci_get tproxy config verbose 0)

__log() { # Writes the message to the syslog
local priority="daemon.notice"
Expand Down Expand Up @@ -141,7 +141,7 @@ start_service() { # PROCD implementation
# Delete all existing rules
__del_rules

[ "$enabled" = "0" ] && { __log Disabled; return 1; }
[ "$enabled" = "0" ] && { __debug Disabled; return 1; }

# Enable correct handling of the intercepted packets (both arriving and leaving)
__exec [start_service] ip -f inet rule add fwmark 1 lookup 100
Expand Down

0 comments on commit f46ecb2

Please sign in to comment.