summaryrefslogtreecommitdiffstats
path: root/eigrpd
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@cumulusnetworks.com>2019-09-04 01:22:27 +0200
committerDonald Sharp <sharpd@cumulusnetworks.com>2019-09-04 01:22:27 +0200
commit7d7acfc779f7846a0216a16b22d56dd076e2c71e (patch)
tree2b167a25ec4ce1267ef4849dc05859bba6a0f143 /eigrpd
parentMerge pull request #4892 from pguibert6WIND/nhtresolvedefaultvrf (diff)
downloadfrr-7d7acfc779f7846a0216a16b22d56dd076e2c71e.tar.xz
frr-7d7acfc779f7846a0216a16b22d56dd076e2c71e.zip
eigrpd: Fix SA issue with setting but not using
We assign a value to the eigrp data structure and then immediately overwrite it in the for loop. No need to do a eigrp_lookup. Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'eigrpd')
-rw-r--r--eigrpd/eigrp_network.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/eigrpd/eigrp_network.c b/eigrpd/eigrp_network.c
index ae7b655e5..c7ffbf9f0 100644
--- a/eigrpd/eigrp_network.c
+++ b/eigrpd/eigrp_network.c
@@ -285,7 +285,7 @@ void eigrp_if_update(struct interface *ifp)
{
struct listnode *node, *nnode;
struct route_node *rn;
- struct eigrp *eigrp = eigrp_lookup(ifp->vrf_id);
+ struct eigrp *eigrp;
/*
* In the event there are multiple eigrp autonymnous systems running,