Skip to content

Commit

Permalink
Add smb_file_path_type alert method data to gsad
Browse files Browse the repository at this point in the history
This can be used to select whether the alert should use smb_file_path
as the whole path or just as the directory.
  • Loading branch information
timopollmeier committed Dec 19, 2018
1 parent 47becd3 commit d4d2182
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions gsad/src/gsad_gmp.c
Original file line number Diff line number Diff line change
Expand Up @@ -7262,6 +7262,7 @@ append_alert_method_data (GString *xml, params_t *data, const char *method,
|| (strcmp (method, "SMB") == 0
&& (strcmp (name, "smb_credential") == 0
|| strcmp (name, "smb_file_path") == 0
|| strcmp (name, "smb_file_path_type") == 0
|| strcmp (name, "smb_report_format") == 0
|| strcmp (name, "smb_share_path") == 0))
|| (strcmp (method, "SNMP") == 0
Expand Down

0 comments on commit d4d2182

Please sign in to comment.