X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=src%2Fplugins%2Fhttp_static%2Fstatic_server.c;h=cd54670884a0cd17c6b54e9d907d7a5b5f2bbb0c;hb=cfcc42e29;hp=a71136db7d9a0a40aaf35f8f23bc735aebe8a6f2;hpb=1b969c2f6a181d4f7cca542dad00e4feb1e45650;p=vpp.git diff --git a/src/plugins/http_static/static_server.c b/src/plugins/http_static/static_server.c index a71136db7d9..cd54670884a 100644 --- a/src/plugins/http_static/static_server.c +++ b/src/plugins/http_static/static_server.c @@ -605,7 +605,7 @@ hss_listen (void) if (parse_uri (uri, &sep)) return -1; - need_crypto = hss_transport_needs_crypto (a->sep_ext.transport_proto); + need_crypto = hss_transport_needs_crypto (sep.transport_proto); sep.transport_proto = TRANSPORT_PROTO_HTTP; clib_memcpy (&a->sep_ext, &sep, sizeof (sep));