summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authordes <des@FreeBSD.org>2013-07-15 08:48:45 +0000
committerdes <des@FreeBSD.org>2013-07-15 08:48:45 +0000
commit60f83c2b99802d815a842d511e9fafb72237cfe9 (patch)
tree4d13eea3ec3570b1bdac5ab64bd7ec5bed51b560 /etc
parent96cfc141562a66bbef089efaf29e8a95ae9f2b72 (diff)
downloadFreeBSD-src-60f83c2b99802d815a842d511e9fafb72237cfe9.zip
FreeBSD-src-60f83c2b99802d815a842d511e9fafb72237cfe9.tar.gz
When stopping pfsync, remove the pfsync interface's syncpeer setting.
MFC after: 3 days
Diffstat (limited to 'etc')
-rwxr-xr-xetc/rc.d/pfsync2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/rc.d/pfsync b/etc/rc.d/pfsync
index 3dab3a8..3c46575 100755
--- a/etc/rc.d/pfsync
+++ b/etc/rc.d/pfsync
@@ -42,7 +42,7 @@ pfsync_start()
pfsync_stop()
{
echo "Disabling pfsync."
- ifconfig pfsync0 -syncdev down
+ ifconfig pfsync0 -syncdev -syncpeer down
}
load_rc_config $name
OpenPOWER on IntegriCloud