mirror of
https://gitlab.nic.cz/labs/bird.git
synced 2024-11-08 12:18:42 +00:00
BMP: Fix reconfiguration
It is not supported, but at least it must update internal config pointer to not keep old one.
This commit is contained in:
parent
2f62d91b61
commit
62aa714175
@ -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 = {
|
||||
|
Loading…
Reference in New Issue
Block a user