summaryrefslogtreecommitdiff
path: root/roles/firewall/templates/main.conf.j2
diff options
context:
space:
mode:
Diffstat (limited to 'roles/firewall/templates/main.conf.j2')
-rw-r--r--roles/firewall/templates/main.conf.j24
1 files changed, 2 insertions, 2 deletions
diff --git a/roles/firewall/templates/main.conf.j2 b/roles/firewall/templates/main.conf.j2
index 9077021..9cbaec8 100644
--- a/roles/firewall/templates/main.conf.j2
+++ b/roles/firewall/templates/main.conf.j2
@@ -24,8 +24,8 @@ IP_ADDR_TABLE=TSG_SECURITY_ADDR
[TSG_LOG]
MODE=1
-{% if tsg_running_type == 0 %}
-NIC_NAME={{ tsg_tun_mode.ethname }}
+{% if tsg_running_type == 0 or 1 %}
+NIC_NAME={{ server.ethname }}
{% else %}
NIC_NAME={{ nic_mgr.name }}
{% endif %}