Skip to content

Commit 945ec7a

Browse files
committed
xxx
1 parent 342c07b commit 945ec7a

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

singbox/scripts/service.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,7 @@ setup_ipv6() {
100100
ip6tables -w 64 -A OUTPUT -p udp --destination-port 53 -j DROP &>/dev/null
101101
fi
102102
else
103+
log info "IPv6: disabled"
103104
# 禁用IPv6设置
104105
sysctl -w net.ipv6.conf.all.forwarding=0 &>/dev/null
105106
sysctl -w net.ipv6.conf.all.accept_ra=0 &>/dev/null
@@ -135,7 +136,7 @@ start_box() {
135136
return 1
136137
fi
137138

138-
# 记录配置信息
139+
# 打印配置信息
139140
[ -n "${tun_device}" ] && log info "tun device: ${tun_device}"
140141
[ -n "${stack}" ] && log info "stack: ${stack}"
141142
[ -n "${tproxy_port}" ] && log info "tproxy_port: ${tproxy_port}"
@@ -169,8 +170,7 @@ start_box() {
169170
# 设置 iptables 规则
170171
${scripts_dir}/iptables.sh "${network_mode}"
171172

172-
# 配置 IPv6
173-
log info "Configuring IPv6"
173+
# IPv6 配置
174174
setup_ipv6
175175

176176
log INFO "${bin_name} started"

0 commit comments

Comments
 (0)