Fix typos/thinkos

netbox
Daniel Ankers 2024-06-28 17:22:31 +01:00
parent 41be232924
commit 9e8cd2d385
1 changed files with 3 additions and 3 deletions

View File

@ -79,13 +79,13 @@ chassis {
{% macro interfaceconfig(interface,rack = None) %}
{{ interface.name }} {
{% if interface.get('description') != '' %}
{% if interface.description != '' %}
description "{{ interface.description }}";
{% endif %}
{% if interface.get('mtu') and not interface.get('lag') %}
{% if interface.mtu and not interface.lag %}
mtu {{ interface.mtu }};
{% endif %}
{% if interface.get('lag') %}
{% if interface.lag %}
ether-options {
802.3ad {{ interface.lag.name }};
}