diff --git a/nfq/protocol.c b/nfq/protocol.c index 62f5f0e..1c1142f 100644 --- a/nfq/protocol.c +++ b/nfq/protocol.c @@ -151,7 +151,7 @@ void ResolveMultiPos(const uint8_t *data, size_t sz, t_l7proto l7proto, const st } -const char *http_methods[] = { "GET /","POST /","HEAD /","OPTIONS /","PUT /","DELETE /","CONNECT /","TRACE /",NULL }; +const char *http_methods[] = { "GET /","POST /","HEAD /","OPTIONS ","PUT /","DELETE /","CONNECT ","TRACE /",NULL }; const char *HttpMethod(const uint8_t *data, size_t len) { const char **method; diff --git a/tpws/protocol.c b/tpws/protocol.c index edd2b5a..9639186 100644 --- a/tpws/protocol.c +++ b/tpws/protocol.c @@ -151,7 +151,7 @@ void ResolveMultiPos(const uint8_t *data, size_t sz, t_l7proto l7proto, const st } -const char *http_methods[] = { "GET /","POST /","HEAD /","OPTIONS /","PUT /","DELETE /","CONNECT /","TRACE /",NULL }; +const char *http_methods[] = { "GET /","POST /","HEAD /","OPTIONS ","PUT /","DELETE /","CONNECT ","TRACE /",NULL }; const char *HttpMethod(const uint8_t *data, size_t len) { const char **method;