pf: reload and resync do the same thing

The reload and resync commands for the startup script do exactly the same
thing, so implement one as a call to the other.

MFC after:	3 weeks
This commit is contained in:
Kristof Provost 2018-03-26 09:36:22 +00:00
parent 18628b74bd
commit b93a1086cf

View File

@ -53,12 +53,12 @@ pf_check()
pf_reload()
{
echo "Reloading pf rules."
$pf_program -n -f "$pf_rules" $pf_flags || return 1
$pf_program -f "$pf_rules" $pf_flags
pf_resync
}
pf_resync()
{
$pf_program -n -f "$pf_rules" $pf_flags || return 1
$pf_program -f "$pf_rules" $pf_flags
}