File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -121,18 +121,18 @@ if is_enabled "$KILL_SWITCH" ; then
121121
122122 if [[ $address =~ $ip_regex ]]; then
123123 printf ' %s\n' \
124- " add rule inet killswitch outgoing oifname eth0 ip daddr $address $protocol dport $port accept" ' ' >> $nftables_config_file
124+ " add rule inet killswitch outgoing oifname eth0 ip daddr $address $protocol dport $port accept" >> $nftables_config_file
125125 else
126126 for ip in $( dig -4 +short " $address " ) ; do
127127 printf ' %s\n' \
128- " add rule inet killswitch outgoing oifname eth0 ip daddr $ip $protocol dport $port accept" ' ' >> $nftables_config_file
128+ " add rule inet killswitch outgoing oifname eth0 ip daddr $ip $protocol dport $port accept" >> $nftables_config_file
129129 printf " %s %s\n" " $ip " " $address " >> /etc/hosts
130130 done
131131 fi
132132 done <<< " $remotes"
133133
134134 printf ' %s\n' \
135- ' # allow traffic over the VPN interface' \
135+ ' ' ' # allow traffic over the VPN interface' \
136136 " add rule inet killswitch incoming iifname tun0 accept" \
137137 " add rule inet killswitch outgoing oifname tun0 accept" >> $nftables_config_file
138138
You can’t perform that action at this time.
0 commit comments