diff options
| author | Donald Sharp <sharpd@nvidia.com> | 2021-06-10 11:05:26 -0400 |
|---|---|---|
| committer | Donald Sharp <sharpd@nvidia.com> | 2021-06-18 08:37:52 -0400 |
| commit | 3caaa177645d858ed53d1b8fcac974a6d74492c5 (patch) | |
| tree | cb5a584ad6029539ddcbfe1168f4026b5992aaa1 /zebra/zebra_rnh.c | |
| parent | 95209a72346277a6cef5703d51d6bc1c1a4a57d6 (diff) | |
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_rnh.c')
| -rw-r--r-- | zebra/zebra_rnh.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/zebra/zebra_rnh.c b/zebra/zebra_rnh.c index a4382441c8..41d55c2e6c 100644 --- a/zebra/zebra_rnh.c +++ b/zebra/zebra_rnh.c @@ -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: |
