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:
parent
18628b74bd
commit
b93a1086cf
@ -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
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user