0
0
mirror of https://gitlab.nic.cz/labs/bird.git synced 2024-12-22 09:41:54 +00:00

Perf: template support

This commit is contained in:
Maria Matejka 2018-12-17 15:57:37 +01:00
parent 7290272a43
commit fbfabc2b69

View File

@ -300,6 +300,11 @@ perf_reconfigure(struct proto *P UNUSED, struct proto_config *CF UNUSED)
return 0;
}
static void
perf_copy_config(struct proto_config *dest UNUSED, struct proto_config *src UNUSED)
{
}
struct protocol proto_perf = {
.name = "Perf",
.template = "perf%d",
@ -310,4 +315,5 @@ struct protocol proto_perf = {
.init = perf_init,
.start = perf_start,
.reconfigure = perf_reconfigure,
.copy_config = perf_copy_config,
};