summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorQuentin Young <qlyoung@cumulusnetworks.com>2018-04-16 20:47:57 +0200
committerQuentin Young <qlyoung@cumulusnetworks.com>2018-04-17 19:58:24 +0200
commit7862377088bf48582136b3a8b85937ad7b252170 (patch)
tree02b48e8c9c624a5c04dabf96061a8b699e7cefbe
parentospfd: fix stylistic issue (diff)
downloadfrr-7862377088bf48582136b3a8b85937ad7b252170.tar.xz
frr-7862377088bf48582136b3a8b85937ad7b252170.zip
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>
-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 7464b14b1..6825be83a 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);