diff --git a/scripts/dns-reverse-generator.sh b/scripts/dns-reverse-generator.sh index aa2cfed..987cddf 100755 --- a/scripts/dns-reverse-generator.sh +++ b/scripts/dns-reverse-generator.sh @@ -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#*~}"