Fixes discovery for loopback interfaces

This commit is contained in:
Simone Mainardi 2019-12-17 14:27:35 +01:00
parent 893350653b
commit fdba617b0d
7 changed files with 20 additions and 13 deletions

View file

@ -252,7 +252,7 @@ local has_snmp_location = info["version.enterprise_edition"] and host_has_snmp_l
label = i18n("ports"),
},
{
hidden = only_historical or isLoopback(ifname),
hidden = only_historical or interface.isLoopback(),
active = page == "peers",
page_name = "peers",
label = i18n("peers"),