1
0
Fork 0
mirror of https://github.com/NeoCloud/NeoNetwork synced 2024-11-26 00:40:42 +08:00

DNS: generator: up

This commit is contained in:
Neo_Chen 2020-04-29 16:25:46 +08:00
parent 2852d44fa6
commit ac48ac3c94

View file

@ -46,7 +46,7 @@ for i in *; do
print_record "$downstream_ip" "$UPSTREAM.$DOWNSTREAM.tun30.neo."
) >> "$TUN30_TEMP"
elif [ "$TYPE" = "PTP" ]; then
i="${i/PP,/}"
i="${i/PTP,/}"
upstream_ip="${i%~*}"
downstream_ip="${i#*~}"