mirror of
https://gitlab.nic.cz/labs/bird.git
synced 2024-11-09 20:58:44 +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
02164814b4
commit
010df43519
@ -1131,10 +1131,16 @@ bmp_shutdown(struct proto *P)
|
|||||||
}
|
}
|
||||||
|
|
||||||
static int
|
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");
|
log(L_WARN "Reconfiguring BMP is not supported");
|
||||||
return PS_UP;
|
|
||||||
|
p->cf = cf;
|
||||||
|
|
||||||
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
struct protocol proto_bmp = {
|
struct protocol proto_bmp = {
|
||||||
|
Loading…
Reference in New Issue
Block a user