summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--zebra/zebra_rnh.c1
-rw-r--r--zebra/zebra_srte.c1
2 files changed, 0 insertions, 2 deletions
diff --git a/zebra/zebra_rnh.c b/zebra/zebra_rnh.c
index a4382441c..41d55c2e6 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:
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: