diff --git a/printing/templates/machine b/printing/templates/machine index eb35287..b8628f0 100644 --- a/printing/templates/machine +++ b/printing/templates/machine @@ -4,7 +4,8 @@ {% endif %} {{"MAC : "|coul('gras')}}{{o.macAddress|join(', ')|const_of_mac}} {{"IPv4 : "|coul('gras')}}{{o.ipHostNumber|join(', ')}} -{{"IPv6 : "|coul('gras')}}{{o.ip6HostNumber|join(', ')}} +{% if o.ip6HostNumber %}{{"IPv6 : "|coul('gras')}}{{o.ip6HostNumber|join(', ')}} +{% endif %} {{"DnsIpv6 : "|coul('gras')}}{% if not o.dnsIpv6 or o.dnsIpv6.0.value %} {{"TRUE"|coul('vert')}} {% else %}