summaryrefslogtreecommitdiff
path: root/nest/proto.c
diff options
context:
space:
mode:
authorOndrej Zajicek (work) <santiago@crfreenet.org>2019-08-06 15:29:06 +0200
committerOndrej Zajicek (work) <santiago@crfreenet.org>2019-08-06 15:29:06 +0200
commite2b530aa729f9c5973e498b45dd6f55ab669d1ac (patch)
treea82e256afe93d3fe242d17838c4accd4ccf7e81b /nest/proto.c
parentf6a6a77640a9749c79a91300d130ba6b5941d408 (diff)
BGP: Improve reconfiguration
Several BGP channel options (including 'next hop self') could be reconfigured without session reset, with just route refeed/refresh. The patch improves reconfiguration code to do it that way.
Diffstat (limited to 'nest/proto.c')
-rw-r--r--nest/proto.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/nest/proto.c b/nest/proto.c
index 2fb4e96f..18cf214b 100644
--- a/nest/proto.c
+++ b/nest/proto.c
@@ -619,7 +619,7 @@ channel_reconfigure(struct channel *c, struct channel_config *cf)
c->last_tx_filter_change = current_time();
/* Execute channel-specific reconfigure hook */
- if (c->channel->reconfigure && !c->channel->reconfigure(c, cf))
+ if (c->channel->reconfigure && !c->channel->reconfigure(c, cf, &import_changed, &export_changed))
return 0;
/* If the channel is not open, it has no routes and we cannot reload it anyways */