]> git.proxmox.com Git - mirror_frr.git/blobdiff - ospf6d/ospf6_snmp.c
Merge pull request #5081 from pguibert6WIND/show_brief_doc
[mirror_frr.git] / ospf6d / ospf6_snmp.c
index fc7c6177d7f6cc2e660959390583ced4109a6e4c..1ba89f3bd69437c9501e47418adc21ebae176135 100644 (file)
@@ -1130,9 +1130,9 @@ static uint8_t *ospfv3IfEntry(struct variable *v, oid *name, size_t *length,
                        return SNMP_INTEGER(ntohl(oi->area->area_id));
                break;
        case OSPFv3IFTYPE:
-               if (if_is_broadcast(oi->interface))
+               if (oi->type == OSPF_IFTYPE_BROADCAST)
                        return SNMP_INTEGER(1);
-               else if (if_is_pointopoint(oi->interface))
+               else if (oi->type == OSPF_IFTYPE_POINTOPOINT)
                        return SNMP_INTEGER(3);
                else
                        break; /* Unknown, don't put anything */