diff options
| author | Donald Sharp <sharpd@nvidia.com> | 2023-05-30 19:48:55 -0400 |
|---|---|---|
| committer | Donald Sharp <sharpd@nvidia.com> | 2023-06-01 08:58:16 -0400 |
| commit | 56cc0c247838f6058c5b6aba513c31dca63dc7c7 (patch) | |
| tree | 2646f6a1197e5d4e63ece2505d0a972bcbce157f | |
| parent | c36bd47d767d1e45a8bc3af99bd5f8832c6e6a57 (diff) | |
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>
| -rw-r--r-- | eigrpd/eigrp_update.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/eigrpd/eigrp_update.c b/eigrpd/eigrp_update.c index 2237a611e8..a056267bf7 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); |
