From fbfabc2b69073249e9289d7f75ab2a2ead266a7e Mon Sep 17 00:00:00 2001 From: Maria Matejka Date: Mon, 17 Dec 2018 15:57:37 +0100 Subject: [PATCH] Perf: template support --- proto/perf/perf.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/proto/perf/perf.c b/proto/perf/perf.c index 97fd83402..6741f7cbf 100644 --- a/proto/perf/perf.c +++ b/proto/perf/perf.c @@ -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, }; -- 2.47.2