summaryrefslogtreecommitdiff
path: root/nest/proto.c
diff options
context:
space:
mode:
authorOndrej Zajicek <santiago@crfreenet.org>2010-02-08 12:42:09 +0100
committerOndrej Zajicek <santiago@crfreenet.org>2010-02-08 12:42:09 +0100
commit5a56f27cd00c2cad661aed9b54696699e800883c (patch)
treecaa18423466f93b6bc34df0511f4bd6d2519f04a /nest/proto.c
parentaa80826e4af4e6e0a6de5604ab5ce7991f2a8b4e (diff)
Adds asterisk to the primary route in 'show route' cmd.
And also fixes a minor bug.
Diffstat (limited to 'nest/proto.c')
-rw-r--r--nest/proto.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/nest/proto.c b/nest/proto.c
index e19c3948..870edddd 100644
--- a/nest/proto.c
+++ b/nest/proto.c
@@ -311,6 +311,7 @@ proto_reconfigure(struct proto *p, struct proto_config *oc, struct proto_config
p->name = nc->name;
p->in_filter = nc->in_filter;
p->out_filter = nc->out_filter;
+ p->preference = nc->preference;
if (import_changed || export_changed)
log(L_INFO "Reloading protocol %s", p->name);