diff options
author | N0YB <Al_Stu@Frontier.com> | 2012-12-18 04:04:40 -0800 |
---|---|---|
committer | N0YB <Al_Stu@Frontier.com> | 2012-12-18 04:04:40 -0800 |
commit | 378d3c8891283326fff27989ab375321ab523a04 (patch) | |
tree | 9df7ca35cf0f4f661ef8218dcc1d6f660c4df8de | |
parent | c65c3a5d54d060578dc785a8d83c170693836210 (diff) | |
download | pfsense-378d3c8891283326fff27989ab375321ab523a04.zip pfsense-378d3c8891283326fff27989ab375321ab523a04.tar.gz |
pfctrl is comment aware (#).
Leave comments in place so last update info can be retrieved by diagnostics tables.
Instead ensure private space is not included.
-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 f34964b..ee369ad 100755 --- a/etc/rc.update_bogons.sh +++ b/etc/rc.update_bogons.sh @@ -55,7 +55,7 @@ else fi if [ "$BOGON_V6_MD5" = "$ON_DISK_V6_MD5" ]; then - egrep -v "^#" /tmp/bogonsv6 > /etc/bogonsv6 + egrep -v "^fc00::/7" /tmp/bogonsv6 > /etc/bogonsv6 RESULT=`/sbin/pfctl -t bogonsv6 -T replace -f /etc/bogonsv6 2>&1` rm /tmp/bogonsv6 echo "Bogons V6 file downloaded: $RESULT" | logger |