Skip to content

Commit

Permalink
Resolve conflict in backport of #1435 to 21.04
Browse files Browse the repository at this point in the history
The conflict in the modify_override improvement was due to the "Debug"
severity level being removed.
  • Loading branch information
timopollmeier committed Mar 8, 2021
1 parent ce0ca16 commit 52b4bf0
Showing 1 changed file with 0 additions and 14 deletions.
14 changes: 0 additions & 14 deletions src/manage_sql.c
Original file line number Diff line number Diff line change
Expand Up @@ -37097,20 +37097,6 @@ modify_override (const gchar *override_id, const char *active, const char *nvt,
if (nvt && !nvt_exists (nvt))
return 4;

<<<<<<< HEAD
if (threat && strcmp (threat, "High") && strcmp (threat, "Medium")
&& strcmp (threat, "Low") && strcmp (threat, "Log")
&& strcmp (threat, "Alarm") && strcmp (threat, ""))
return -1;

if (new_threat && strcmp (new_threat, "High") && strcmp (new_threat, "Medium")
&& strcmp (new_threat, "Low") && strcmp (new_threat, "Log")
&& strcmp (new_threat, "False Positive")
&& strcmp (new_threat, "Alarm") && strcmp (new_threat, ""))
return -1;

=======
>>>>>>> 99918c446... Improve modify_override errors, fix no NVT case
severity_dbl = 0.0;
if (severity != NULL && strcmp (severity, ""))
{
Expand Down

0 comments on commit 52b4bf0

Please sign in to comment.