diff --git a/.gitattributes b/.gitattributes index fa417ed..67bfc6d 100644 --- a/.gitattributes +++ b/.gitattributes @@ -1,2 +1,3 @@ *.bat text eol=crlf -*.ps1 text eol=crlf \ No newline at end of file +*.ps1 text eol=crlf +*.txt text eol=crlf \ No newline at end of file diff --git a/service.bat b/service.bat index e91c666..6a3bd02 100644 --- a/service.bat +++ b/service.bat @@ -819,7 +819,7 @@ for /f %%i in ('type "%listFile%" 2^>nul ^| find /c /v ""') do set "lineCount=%% if !lineCount!==0 ( set "IPsetStatus=any" ) else ( - findstr /R "^203\.0\.113\.113/32$" "%listFile%" >nul + findstr /C:"203.0.113.113/32" "%listFile%" >nul if !errorlevel!==0 ( set "IPsetStatus=none" ) else (