diff options
Diffstat (limited to 'nest/proto.c')
-rw-r--r-- | nest/proto.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/nest/proto.c b/nest/proto.c index 49f71304..8a8221a8 100644 --- a/nest/proto.c +++ b/nest/proto.c @@ -165,6 +165,7 @@ 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); @@ -557,6 +558,9 @@ 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)) return 0; |