summaryrefslogtreecommitdiff
path: root/ospfd
diff options
context:
space:
mode:
authorQuentin Young <qlyoung@cumulusnetworks.com>2018-04-16 14:47:57 -0400
committerQuentin Young <qlyoung@cumulusnetworks.com>2018-04-17 13:58:24 -0400
commit7862377088bf48582136b3a8b85937ad7b252170 (patch)
tree02b48e8c9c624a5c04dabf96061a8b699e7cefbe /ospfd
parent72c038017e1bd3e0df21fced2e4ba113bba5e74c (diff)
ospfd: remove unnecessary assignment
Not sure what's going on here but it doesn't need to be Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
Diffstat (limited to 'ospfd')
-rw-r--r--ospfd/ospf_snmp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ospfd/ospf_snmp.c b/ospfd/ospf_snmp.c
index 7464b14b1f..6825be83ac 100644
--- a/ospfd/ospf_snmp.c
+++ b/ospfd/ospf_snmp.c
@@ -2117,7 +2117,7 @@ static struct ospf_neighbor *ospf_snmp_nbr_lookup_next(struct in_addr *nbr_addr,
struct ospf_neighbor *nbr;
struct route_node *rn;
struct ospf_neighbor *min = NULL;
- struct ospf *ospf = ospf;
+ struct ospf *ospf;
ospf = ospf_lookup_by_vrf_id(VRF_DEFAULT);