From 135e9da414cd2665e10380888cb146bfef4b1efb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C3=ABl=20Paulon?= Date: Tue, 29 Sep 2020 23:54:40 +0200 Subject: [PATCH] patch typo + make it look like actual config --- configs/config.j2 | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/configs/config.j2 b/configs/config.j2 index ea645be..61d9d94 100644 --- a/configs/config.j2 +++ b/configs/config.j2 @@ -43,13 +43,16 @@ ip dns server-address priority {{ loop.index }} {{ d }} {%- endfor %} ip ssh filetransfer {%- for i6 in ipv6_managers.values() %} -ipv6 authorized-managers {{ i6.ip }} {{ i6.subnet }} access manager +ipv6 authorized-managers {{ i6.ip }} {{ i6.subnet }} access manager {%- endfor %} {%- if ra_guard_ports %} ipv6 ra-guard ports {{ ra_guard_ports }} {%- endif %} {%- for iface in interfaces %} interface {{ iface.number }} +{%- if iface.flowcontrol %} + flow-control +{%- endif %} name "{{ iface.name }}" {%- if iface.dhcp_trust %} dhcp-snooping trust @@ -57,9 +60,6 @@ interface {{ iface.number }} {%- if iface.dhcpv6_trust %} dhcpv6-snooping trust {%- endif %} -{%- if iface.flowcontrol %} - flow-control -{% endif %} {%- if iface.arp_trust %} arp-protect trust {%- endif %}