diff options
author | avatar <avatar@FreeBSD.org> | 2006-10-26 00:29:43 +0000 |
---|---|---|
committer | avatar <avatar@FreeBSD.org> | 2006-10-26 00:29:43 +0000 |
commit | 07cb91236d6e8877b8b0555ba30b980905acede9 (patch) | |
tree | 9ff15bc478388cdc08b64dc3aae2ef507e998ead /etc/rc.d/ppp | |
parent | 9ee884309956e31ebd38e59c05c2cb73e86bce4a (diff) | |
download | FreeBSD-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/ppp | 3 |
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 |