Skip to content

Commit

Permalink
Fix Is_IP regex
Browse files Browse the repository at this point in the history
  • Loading branch information
Adamm00 committed Jun 3, 2017
1 parent 16fff5e commit 7568052
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions firewall.sh
Expand Up @@ -9,7 +9,7 @@
# __/ | #
# |___/ #
# #
## - 02/06/2017 - Asus Firewall Addition By Adamm v4.6.2 #
## - 03/06/2017 - Asus Firewall Addition By Adamm v4.6.3 #
## https://github.com/Adamm00/IPSet_ASUS #
#############################################################################################################

Expand Down Expand Up @@ -195,7 +195,7 @@ Enable_Debug () {
}

Is_IP () {
grep -qE '[0-9,\.]*'
grep -qE '^[0-9,\.]*$'
}

#####################################################################################################################
Expand Down

0 comments on commit 7568052

Please sign in to comment.