summaryrefslogtreecommitdiffstats
path: root/eigrpd/eigrp_update.c
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@nvidia.com>2023-05-31 01:48:55 +0200
committerDonald Sharp <sharpd@nvidia.com>2023-06-01 14:58:16 +0200
commit56cc0c247838f6058c5b6aba513c31dca63dc7c7 (patch)
tree2646f6a1197e5d4e63ece2505d0a972bcbce157f /eigrpd/eigrp_update.c
parentbgpd: vpn_policy_getafi can return AFI_MAX (diff)
downloadfrr-56cc0c247838f6058c5b6aba513c31dca63dc7c7.tar.xz
frr-56cc0c247838f6058c5b6aba513c31dca63dc7c7.zip
eigrpd: dest_addr does not need to be set to NULL
All paths of the loop set dest_addr at the start of the loop. No need to set it to NULL to immediately set it too something else. Signed-off-by: Donald Sharp <sharpd@nvidia.com>
Diffstat (limited to '')
-rw-r--r--eigrpd/eigrp_update.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/eigrpd/eigrp_update.c b/eigrpd/eigrp_update.c
index 2237a611e..a056267bf 100644
--- a/eigrpd/eigrp_update.c
+++ b/eigrpd/eigrp_update.c
@@ -842,9 +842,6 @@ static void eigrp_update_send_GR_part(struct eigrp_neighbor *nbr)
eigrp_fsm_event(&fsm_msg);
}
- /* NULL the pointer */
- dest_addr = NULL;
-
/* delete processed prefix from list */
listnode_delete(prefixes, pe);