Commit c891e79a authored by Andrey Vertiprahov's avatar Andrey Vertiprahov
Browse files

Fix ReportDiscovery Poison MAC view.

parent 2cab622f
Pipeline #23201 passed with stages
in 23 minutes and 39 seconds
......@@ -14,6 +14,7 @@ from noc.inv.models.discoveryid import DiscoveryID
from import ManagedObject
from noc.main.models.pool import Pool
from noc.core.translation import ugettext as _
from noc.core.mac import MAC
class ReportForm(forms.Form):
......@@ -60,7 +61,7 @@ class ReportDiscoveryIDPoisonApplication(SimpleReport):
data_c.append((, mo.address,,, mo.is_managed))
if pool and pool not in pool_c:
data += [SectionRow(name="%s %s" % (f["_id"][0], reason))]
data += [SectionRow(name="%s %s" % (MAC(f["_id"][0]), reason))]
data += data_c
return self.from_dataset(
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment