summaryrefslogtreecommitdiffstats
path: root/src/plugins/mactime
diff options
context:
space:
mode:
authorFlorin Coras <fcoras@cisco.com>2022-01-28 15:26:39 -0800
committerDamjan Marion <dmarion@me.com>2022-01-30 14:44:40 +0000
commitfdb5a5a0e4aad887add68985191be114dcc99e38 (patch)
tree38c0284819e8967d2e1a3d173b2884faa5e9c2ab /src/plugins/mactime
parentffd7a9876e5038ad96af1d5dbbb0283c5fe6ab27 (diff)
http_static: incorporate builtinurl plugin
External handlers can still be registered via hss_register_url_handler but url handlers must be enabled when server is created. builtinurl plugin to be removed in a future patch Type: refactor Signed-off-by: Florin Coras <fcoras@cisco.com> Change-Id: I94e103d908b9e118c7927b997a21ce3f67809889
Diffstat (limited to 'src/plugins/mactime')
-rw-r--r--src/plugins/mactime/builtins.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/plugins/mactime/builtins.c b/src/plugins/mactime/builtins.c
index 35a254f1a25..d039f7bff7f 100644
--- a/src/plugins/mactime/builtins.c
+++ b/src/plugins/mactime/builtins.c
@@ -1,5 +1,4 @@
#include <vnet/vnet.h>
-#include <builtinurl/builtinurl.h>
#include <http_static/http_static.h>
#include <mactime/mactime.h>
#include <vlib/unix/plugin.h>
@@ -160,7 +159,7 @@ mactime_url_init (vlib_main_t * vm)
/* Look up the builtin URL registration handler */
fp = vlib_get_plugin_symbol ("http_static_plugin.so",
- "http_static_server_register_builtin_handler");
+ "hss_register_url_handler");
if (fp == 0)
{