From 74d4ad537cb20f53a76c19ce63e49220e2af24c9 Mon Sep 17 00:00:00 2001 From: doktornotor Date: Sat, 14 Nov 2015 15:10:10 +0100 Subject: Fix the merge ifaces logic for renamed option --- config/ntop2/ntop.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'config/ntop2') diff --git a/config/ntop2/ntop.inc b/config/ntop2/ntop.inc index 7c846b87..da017eac 100644 --- a/config/ntop2/ntop.inc +++ b/config/ntop2/ntop.inc @@ -87,7 +87,7 @@ function sync_package_ntop() { /* Set up ntop interfaces */ $ifaces_final = ""; $first = 0; - $mergeifs = ($ntop_config['disallowmerge'] == "on") ? "" : "-M"; + $mergeifs = $ntop_config['disallowmerge'] == "on" ? "-M" : ""; foreach ($ntop_config['interface_array'] as $iface) { $if = convert_friendly_interface_to_real_interface_name($iface); -- cgit v1.2.3