]> git.ipfire.org Git - thirdparty/bird.git/commitdiff
Perf: template support mq-perf2
authorMaria Matejka <mq@ucw.cz>
Mon, 17 Dec 2018 14:57:37 +0000 (15:57 +0100)
committerMaria Matejka <mq@ucw.cz>
Mon, 17 Dec 2018 14:57:37 +0000 (15:57 +0100)
proto/perf/perf.c

index 97fd8340201b75e6fecc14860c0ac87c52495b23..6741f7cbf17137cf83d4c0fe3d7d8d6044975166 100644 (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,
 };