]> git.ipfire.org Git - thirdparty/bird.git/commitdiff
Nest: remove last_tx_filter_change
authorOndrej Zajicek (work) <santiago@crfreenet.org>
Wed, 6 Jan 2021 13:51:49 +0000 (14:51 +0100)
committerOndrej Zajicek (work) <santiago@crfreenet.org>
Wed, 6 Jan 2021 13:51:49 +0000 (14:51 +0100)
No longer needed after redesign of export handling.

nest/proto.c
nest/protocol.h

index 4326e86591bd5de16fcfce7670133c0ccdf928c5..aebb5458d90e647904b5a4a7121a7524c3f8430d 100644 (file)
@@ -177,7 +177,6 @@ proto_add_channel(struct proto *p, struct channel_config *cf)
   c->channel_state = CS_DOWN;
   c->export_state = ES_DOWN;
   c->last_state_change = current_time();
-  c->last_tx_filter_change = current_time();
   c->reloadable = 1;
 
   CALL(c->channel->init, c, cf);
@@ -686,9 +685,6 @@ channel_reconfigure(struct channel *c, struct channel_config *cf)
 
   channel_verify_limits(c);
 
-  if (export_changed)
-    c->last_tx_filter_change = current_time();
-
   /* Execute channel-specific reconfigure hook */
   if (c->channel->reconfigure && !c->channel->reconfigure(c, cf, &import_changed, &export_changed))
     return 0;
index 977b33745b0be53633704231cd9fdd8307ad3a61..d82e398375d22cf77966e9c5c81b1598277b9918 100644 (file)
@@ -542,7 +542,6 @@ struct channel {
   u8 gr_wait;                          /* Route export to channel is postponed until graceful restart */
 
   btime last_state_change;             /* Time of last state transition */
-  btime last_tx_filter_change;
 
   struct rtable *in_table;             /* Internal table for received routes */
   struct event *reload_event;          /* Event responsible for reloading from in_table */