diff options
author | Donald Sharp <sharpd@cumulusnetworks.com> | 2017-10-06 14:41:36 +0200 |
---|---|---|
committer | Renato Westphal <renato@opensourcerouting.org> | 2017-10-10 14:05:02 +0200 |
commit | a6ba931e0bd4adddbde35dae585d2ffa5e9c78db (patch) | |
tree | da8462b75cc10afd5435a0e57a089b3a7a256269 /ospf6d/ospf6_snmp.c | |
parent | lib: fix bug in if_cmp_name_func() (diff) | |
download | frr-a6ba931e0bd4adddbde35dae585d2ffa5e9c78db.tar.xz frr-a6ba931e0bd4adddbde35dae585d2ffa5e9c78db.zip |
ospf6d: Add missing vrf lookup
The vrf lookup was missed in this conversion?
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to '')
-rw-r--r-- | ospf6d/ospf6_snmp.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ospf6d/ospf6_snmp.c b/ospf6d/ospf6_snmp.c index fb3b146e3..dfe69aa0e 100644 --- a/ospf6d/ospf6_snmp.c +++ b/ospf6d/ospf6_snmp.c @@ -1042,6 +1042,7 @@ static u_char *ospfv3IfEntry(struct variable *v, oid *name, size_t *length, int exact, size_t *var_len, WriteMethod **write_method) { + struct vrf *vrf = vrf_lookup_by_id(VRF_DEFAULT); ifindex_t ifindex = 0; unsigned int instid = 0; struct ospf6_interface *oi = NULL; @@ -1194,6 +1195,7 @@ static u_char *ospfv3NbrEntry(struct variable *v, oid *name, size_t *length, int exact, size_t *var_len, WriteMethod **write_method) { + struct vrf *vrf = vrf_lookup_by_id(VRF_DEFAULT); ifindex_t ifindex = 0; unsigned int instid, rtrid; struct ospf6_interface *oi = NULL; |