mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-11 14:58:18 +00:00
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>
This commit is contained in:
parent
95209a7234
commit
3caaa17764
@ -1367,7 +1367,6 @@ int zebra_send_rnh_update(struct rnh *rnh, struct zserv *client,
|
||||
stream_putw_at(s, 0, stream_get_endp(s));
|
||||
|
||||
client->nh_last_upd_time = monotime(NULL);
|
||||
client->last_write_cmd = cmd;
|
||||
return zserv_send_message(client, s);
|
||||
|
||||
failure:
|
||||
|
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user