%PDF- %PDF-
Direktori : /backups/router/usr/local/opnsense/service/templates/OPNsense/Macros/ |
Current File : //backups/router/usr/local/opnsense/service/templates/OPNsense/Macros/interface.macro |
{# macro physical_interface, return physical interface by name (e.g. lan -> em0) #} {% macro physical_interface(name) -%} {% if helpers.exists('interfaces.'+name+'.if') %}{{ helpers.getNodeByTag('interfaces.'+name+'.if') }}{% else %}{{name}}{% endif %}{%- endmacro %}