summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--proto/bmp/bmp.c10
1 files changed, 8 insertions, 2 deletions
diff --git a/proto/bmp/bmp.c b/proto/bmp/bmp.c
index 23e250f8..0ef13cd4 100644
--- a/proto/bmp/bmp.c
+++ b/proto/bmp/bmp.c
@@ -1131,10 +1131,16 @@ bmp_shutdown(struct proto *P)
}
static int
-bmp_reconfigure(struct proto *P UNUSED, struct proto_config *CF UNUSED)
+bmp_reconfigure(struct proto *P, struct proto_config *CF)
{
+ struct bmp_proto *p = (void *) P;
+ const struct bmp_config *cf = (void *) CF;
+
log(L_WARN "Reconfiguring BMP is not supported");
- return PS_UP;
+
+ p->cf = cf;
+
+ return 1;
}
struct protocol proto_bmp = {