Skip to content

Commit

Permalink
fix http.request.chad for Arkime 5 (arkime#2470)
Browse files Browse the repository at this point in the history
  • Loading branch information
awick authored Oct 24, 2023
1 parent ae86ca6 commit 189a70f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion capture/arkime.h
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
#define SUPPRESS_INT_CONVERSION
#endif

#define ARKIME_API_VERSION 420
#define ARKIME_API_VERSION 500

#define ARKIME_SESSIONID_LEN 37
#define ARKIME_SESSIONID6_LEN 37
Expand Down
2 changes: 1 addition & 1 deletion capture/plugins/chad.c
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ void arkime_plugin_init()
{
chad_plugin_num = arkime_plugins_register("chad", TRUE);

chad_http_num = arkime_field_by_exp("http.chad");
chad_http_num = arkime_field_by_exp("http.request.chad");
if (chad_http_num == -1) {
CONFIGEXIT("Add 'chad=type:string;count:true;' to the '[headers-http-request]' section of the config.ini file");
}
Expand Down

0 comments on commit 189a70f

Please sign in to comment.