ldap_crans: valeur "<automatique>" pour champ mac
Et on vire l'ipv6 dans ce cas.
This commit is contained in:
parent
5c9e740f73
commit
ff88440f2e
3 changed files with 22 additions and 3 deletions
|
@ -670,7 +670,8 @@ def machine_details(machine) :
|
|||
|
||||
f+= coul(u'IP : ','gras') + "%s\t\t" %machine.ip()
|
||||
f+= coul(u'MAC : ','gras') + "%s\n" %machine.mac()
|
||||
f+= coul(u'IPv6 : ','gras') + "%s\n" %machine.ipv6()
|
||||
if machine.ipv6() != None:
|
||||
f+= coul(u'IPv6 : ','gras') + "%s\n" %machine.ipv6()
|
||||
|
||||
if len(machine.sshFingerprint()) > 0 and aff_ssh:
|
||||
f += u"\n".join([coul(u'Fingerprint SSH : ', 'gras') + u"%s" % (i) for i in machine.sshFingerprint()])+"\n"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue