diff options
-rw-r--r-- | config/snort/snort_interfaces_edit.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/config/snort/snort_interfaces_edit.php b/config/snort/snort_interfaces_edit.php index 182d0e76..23409bda 100644 --- a/config/snort/snort_interfaces_edit.php +++ b/config/snort/snort_interfaces_edit.php @@ -285,7 +285,7 @@ if (isset($_GET['dup'])) if (isset($id) && $a_nat[$id]) { if ($natent['interface'] != $a_nat[$id]['interface']) Running_Stop($snort_uuid, $if_real, $id); - $a_nat[$id] = $natent; + $a_nat[$id] = array_merge($a_nat[$id], $natent); } else { if (is_numeric($after)) array_splice($a_nat, $after+1, 0, array($natent)); |