]> git.proxmox.com Git - mirror_frr.git/blobdiff - ospfd/ospf_snmp.c
Merge pull request #5468 from qlyoung/bgpd-remove-bgp-attr-dup
[mirror_frr.git] / ospfd / ospf_snmp.c
index c26545344a9f5818213fb16d2eab3f90e0eb52f7..da3bc6f58112879e370adc8e875ca6e5615a7870 100644 (file)
@@ -2257,8 +2257,6 @@ static uint8_t *ospfNbrEntry(struct variable *v, oid *name, size_t *length,
        if (!nbr)
                return NULL;
        oi = nbr->oi;
-       if (!oi)
-               return NULL;
 
        /* Return the current value of the variable */
        switch (v->magic) {