Skip to content

Commit

Permalink
Update stun_bt_lucky.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
Oniicyan authored Nov 7, 2024
1 parent f0c613c commit 2186e51
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion stun_bt_lucky.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ touch $STUNIFO
OLDPORT=$(grep $L4PROTO $STUNIFO | awk -F ':| ' '{print$3}')
if [ $WANPORT = "$OLDPORT" ]; then
logger -st stun_bt The external port $WANPORT/$L4PROTO$([ -n "$IFNAME" ] && echo @$IFNAME) has not changed.
exit 0
nft list table ip STUN 2>&1 | grep $(printf '0x%x' $WANPORT) >/dev/null && exit 0
fi

# 更新保存穿透信息
Expand Down

0 comments on commit 2186e51

Please sign in to comment.