summaryrefslogtreecommitdiffstats
path: root/etc/rc.d/ppp
diff options
context:
space:
mode:
authoravatar <avatar@FreeBSD.org>2006-10-26 00:29:43 +0000
committeravatar <avatar@FreeBSD.org>2006-10-26 00:29:43 +0000
commit07cb91236d6e8877b8b0555ba30b980905acede9 (patch)
tree9ff15bc478388cdc08b64dc3aae2ef507e998ead /etc/rc.d/ppp
parent9ee884309956e31ebd38e59c05c2cb73e86bce4a (diff)
downloadFreeBSD-src-07cb91236d6e8877b8b0555ba30b980905acede9.zip
FreeBSD-src-07cb91236d6e8877b8b0555ba30b980905acede9.tar.gz
Re-sync'ing pf rules in post command as we already did for ipfilter.
With this patch, pf rules with dynamically created devices such like tun0 works without further intervention. Reviewed by: mlaier MFC after: 3 days
Diffstat (limited to 'etc/rc.d/ppp')
-rw-r--r--etc/rc.d/ppp3
1 files changed, 2 insertions, 1 deletions
diff --git a/etc/rc.d/ppp b/etc/rc.d/ppp
index 8a2d9e0..2326c0a 100644
--- a/etc/rc.d/ppp
+++ b/etc/rc.d/ppp
@@ -40,9 +40,10 @@ ppp_precmd()
ppp_postcmd()
{
- # Re-Sync ipfilter so it picks up any new network interfaces
+ # Re-Sync ipfilter and pf so they pick up any new network interfaces
#
/etc/rc.d/ipfilter resync
+ /etc/rc.d/pf resync
}
load_rc_config $name
OpenPOWER on IntegriCloud