Changeset 10441 in hybrid


Ignore:
Timestamp:
Apr 12, 2012, 10:10:02 AM (13 years ago)
Author:
rick
Message:

The pf_flags are not always included causing the external definitions like
-Dif=foo not to be included, yielding false errors in the config files.

The needs to become an send-pr(1) patch, or otherwise reported (also not fixed
in CURRENT/HEAD yet).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/releng-9.0/nanobsd/files/etc/rc.d/pf

    r10440 r10441  
    4747{
    4848        echo "Checking pf rules."
    49         $pf_program -n -f "$pf_rules"
     49        $pf_program -n -f "$pf_rules" $pf_flags
    5050}
    5151
     
    5353{
    5454        echo "Reloading pf rules."
    55         $pf_program -n -f "$pf_rules" || return 1
     55        $pf_program -n -f "$pf_rules" $pf_flags || return 1
    5656        # Flush everything but existing state entries that way when
    5757        # rules are read in, it doesn't break established connections.
Note: See TracChangeset for help on using the changeset viewer.