Load the pfsync module if necessary.

Reviewed by:	glebius@
MFC after:	1 week
This commit is contained in:
Dag-Erling Smørgrav 2013-02-05 12:18:39 +00:00
parent 62cd261e07
commit 2a31bde3cd

View File

@ -35,6 +35,7 @@ pfsync_start()
if [ -n "${pfsync_syncpeer}" ]; then
_syncpeer="syncpeer ${pfsync_syncpeer}"
fi
load_kld pfsync
ifconfig pfsync0 $_syncpeer syncdev $pfsync_syncdev $pfsync_ifconfig up
}