diff options
author | Donald Sharp <sharpd@nvidia.com> | 2021-06-10 17:05:26 +0200 |
---|---|---|
committer | Donald Sharp <sharpd@nvidia.com> | 2021-06-18 14:37:52 +0200 |
commit | 3caaa177645d858ed53d1b8fcac974a6d74492c5 (patch) | |
tree | cb5a584ad6029539ddcbfe1168f4026b5992aaa1 /zebra/zebra_srte.c | |
parent | Merge pull request #8861 from wesleycoakley/docker-init-rework (diff) | |
download | frr-3caaa177645d858ed53d1b8fcac974a6d74492c5.tar.xz frr-3caaa177645d858ed53d1b8fcac974a6d74492c5.zip |
zebra: We already store the last command as part of zserv_write
when sending nexthop information. We do not need to reset the
last_write_cmd since that is taken care of in the send routine.
Signed-off-by: Donald Sharp <sharpd@nvidia.com>
Diffstat (limited to 'zebra/zebra_srte.c')
-rw-r--r-- | zebra/zebra_srte.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/zebra/zebra_srte.c b/zebra/zebra_srte.c index 98158ecc1..6dd60af9f 100644 --- a/zebra/zebra_srte.c +++ b/zebra/zebra_srte.c @@ -161,7 +161,6 @@ static int zebra_sr_policy_notify_update_client(struct zebra_sr_policy *policy, stream_putw_at(s, 0, stream_get_endp(s)); client->nh_last_upd_time = monotime(NULL); - client->last_write_cmd = ZEBRA_NEXTHOP_UPDATE; return zserv_send_message(client, s); failure: |