summaryrefslogtreecommitdiffstats
path: root/etc/rc.update_bogons.sh
diff options
context:
space:
mode:
authorN0YB <Al_Stu@Frontier.com>2012-12-18 04:04:40 -0800
committerN0YB <Al_Stu@Frontier.com>2012-12-18 04:04:40 -0800
commit378d3c8891283326fff27989ab375321ab523a04 (patch)
tree9df7ca35cf0f4f661ef8218dcc1d6f660c4df8de /etc/rc.update_bogons.sh
parentc65c3a5d54d060578dc785a8d83c170693836210 (diff)
downloadpfsense-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.
Diffstat (limited to 'etc/rc.update_bogons.sh')
-rwxr-xr-xetc/rc.update_bogons.sh2
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
OpenPOWER on IntegriCloud