From 6a4a11f4793781e47baa00c900f78386471a15c1 Mon Sep 17 00:00:00 2001 From: Florin Coras Date: Mon, 24 Jan 2022 18:46:03 -0800 Subject: http_static: refactor to use http transport Type: refactor Signed-off-by: Florin Coras Change-Id: I66396a1879eb3c87ef64783eab82a22896413cd0 --- src/plugins/http_static/http_static.c | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'src/plugins/http_static/http_static.c') diff --git a/src/plugins/http_static/http_static.c b/src/plugins/http_static/http_static.c index 48ae593718a..4e611a6a378 100644 --- a/src/plugins/http_static/http_static.c +++ b/src/plugins/http_static/http_static.c @@ -47,11 +47,10 @@ static void vl_api_http_static_enable_t_handler mp->uri[ARRAY_LEN (mp->uri) - 1] = 0; mp->www_root[ARRAY_LEN (mp->www_root) - 1] = 0; - rv = http_static_server_enable_api - (ntohl (mp->fifo_size), - ntohl (mp->cache_size_limit), - ntohl (mp->prealloc_fifos), - ntohl (mp->private_segment_size), mp->www_root, mp->uri); + rv = + hss_enable_api (ntohl (mp->fifo_size), ntohl (mp->cache_size_limit), + ntohl (mp->prealloc_fifos), + ntohl (mp->private_segment_size), mp->www_root, mp->uri); REPLY_MACRO (VL_API_HTTP_STATIC_ENABLE_REPLY); } -- cgit 1.2.3-korg