From: Victor Julien Date: Wed, 3 Apr 2019 18:18:35 +0000 (+0200) Subject: detect/uricontent: suggest http.uri as alternative X-Git-Tag: suricata-5.0.0-beta1~90 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=834d579f7ef402bed237da39902473718ca7dadb;p=thirdparty%2Fsuricata.git detect/uricontent: suggest http.uri as alternative --- diff --git a/src/detect-uricontent.c b/src/detect-uricontent.c index 13080a5988..da655c4785 100644 --- a/src/detect-uricontent.c +++ b/src/detect-uricontent.c @@ -73,6 +73,7 @@ void DetectUricontentRegister (void) sigmatch_table[DETECT_URICONTENT].Free = DetectUricontentFree; sigmatch_table[DETECT_URICONTENT].RegisterTests = DetectUricontentRegisterTests; sigmatch_table[DETECT_URICONTENT].flags = (SIGMATCH_QUOTES_MANDATORY|SIGMATCH_HANDLE_NEGATION); + sigmatch_table[DETECT_URICONTENT].alternative = DETECT_HTTP_URI; g_http_uri_buffer_id = DetectBufferTypeRegister("http_uri"); }