Skip to content

Commit bd3b128

Browse files
Update install.sh
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent cd8f217 commit bd3b128

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

install.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -859,7 +859,7 @@ AddWhite()
859859
for ip in ${IPS};
860860
do
861861
if [ ! "X${ip}" = "X" ]; then
862-
echo $ip | grep -Ei "^[0-9a-f.:/]{5,45}$" > /dev/null 2>&1
862+
echo $ip | grep -Ei "^[0-9a-f.:/]{2,48}$" > /dev/null 2>&1
863863
if [ $? = 0 ]; then
864864
echo " <allow_list>${ip}</allow_list>" >>$NEWCONFIG
865865
fi

0 commit comments

Comments
 (0)