diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2006-09-12 20:05:36 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2006-09-12 20:05:36 +0000 |
commit | fe4d7d52d27d0b5eab1ba5808bb0ffe6043620e0 (patch) | |
tree | 3d179f640690f96a810bdbe52b7929c7ac97da6c | |
parent | 0a5f89fa3e19c277ea1a5979f7755c60c7121959 (diff) | |
download | pfsense-fe4d7d52d27d0b5eab1ba5808bb0ffe6043620e0.zip pfsense-fe4d7d52d27d0b5eab1ba5808bb0ffe6043620e0.tar.gz |
Match on the beginning of the string so that the 110 network is included
Submitted-by: XAI via IRC
-rwxr-xr-x | etc/rc.update_bogons.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/rc.update_bogons.sh b/etc/rc.update_bogons.sh index 0db6b0c..562c79b 100755 --- a/etc/rc.update_bogons.sh +++ b/etc/rc.update_bogons.sh @@ -6,6 +6,6 @@ /etc/rc.conf_mount_rw /usr/bin/fetch -q -o /tmp/bogons "http://www.cymru.com/Documents/bogon-bn-nonagg.txt" -egrep -v "192.168.0.0/16|172.16.0.0/12|10.0.0.0/8" /tmp/bogons > /etc/bogons +egrep -v "^192.168.0.0/16|^172.16.0.0/12|^10.0.0.0/8" /tmp/bogons > /etc/bogons /etc/rc.conf_mount_ro /sbin/pfctl -t bogons -T replace -f /etc/bogons |