Bug d'affichage
darcs-hash:20051031001106-41617-ebd124203d296013c5687f2df9ad1ede4ce694cd.gz
This commit is contained in:
parent
1a6bbb2604
commit
60b78344eb
1 changed files with 1 additions and 1 deletions
|
@ -192,7 +192,7 @@ class hpswitch :
|
|||
if self.__debug : self.__logDest.write("HP DEBUG : show_prise_mac(prise=%s)\n" % prise)
|
||||
try:
|
||||
data = self.walk('STATISTICS-MIB::hpSwitchPortFdbAddress.%d' % int(prise))
|
||||
return map(lambda x:findall('".*"',":".join(x.lower().split(' ')))[0][1:-1],data.values())
|
||||
return map(lambda x:findall('".*"',":".join(x.lower().split(' ')))[0][1:-2],data.values())
|
||||
except ValueError:
|
||||
# Pas de MAC trouvée
|
||||
return []
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue