summaryrefslogtreecommitdiff
path: root/nest/proto.c
diff options
context:
space:
mode:
authorOndrej Zajicek (work) <santiago@crfreenet.org>2021-01-06 14:51:49 +0100
committerOndrej Zajicek (work) <santiago@crfreenet.org>2021-01-06 14:51:49 +0100
commit7a1f4baac11cbfad82a2d09a130b3ae7bb48e9bd (patch)
treec77e1330ae5699ac307f244a3c9faf251e791955 /nest/proto.c
parent4155104c90bc2f3fb680e8041e079ceb3d80a3b1 (diff)
Nest: remove last_tx_filter_change
No longer needed after redesign of export handling.
Diffstat (limited to 'nest/proto.c')
-rw-r--r--nest/proto.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/nest/proto.c b/nest/proto.c
index 4326e865..aebb5458 100644
--- a/nest/proto.c
+++ b/nest/proto.c
@@ -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;