Changeset 10464 in genesis


Ignore:
Timestamp:
Apr 12, 2012, 9:34:24 PM (13 years ago)
Author:
rick
Message:

Boring default for externalif

File:
1 edited

Legend:

Unmodified
Added
Removed
  • tools/gformat.py

    r10461 r10464  
    506506#
    507507captive_portal_interfaces="{{ autogen_dhcp_interfaces }}"
     508externalif="{{ externalif }}"
    508509
    509510pf_rules="/etc/pf.hybrid.conf"
    510511{% if service_ileiden -%}
    511512# Service iLeiden
    512 pf_flags="-D ext_if={{ externalif }} -D captive_portal_interfaces=${captive_portal_interfaces:-'none'} -D publicnat=80,443"
     513pf_flags="-D ext_if=${externalif:-'vr0'} -D captive_portal_interfaces=${captive_portal_interfaces:-'none'} -D publicnat=80,443"
    513514{% else -%}
    514 pf_flags="-D ext_if={{ externalif }} -D captive_portal_interfaces=${captive_portal_interfaces:-'none'} -D publicnat=0"
     515pf_flags="-D ext_if=${externalif:-'vr0'} -D captive_portal_interfaces=${captive_portal_interfaces:-'none'} -D publicnat=0"
    515516{% endif -%}
    516517
Note: See TracChangeset for help on using the changeset viewer.