diff --git a/pandora_console/godmode/netflow/nf_edit_form.php b/pandora_console/godmode/netflow/nf_edit_form.php index 643d63f8c0..60cd41f019 100644 --- a/pandora_console/godmode/netflow/nf_edit_form.php +++ b/pandora_console/godmode/netflow/nf_edit_form.php @@ -85,7 +85,6 @@ if ($id) { $dst_port = $filter['dst_port']; $src_port = $filter['src_port']; $aggregate = $filter['aggregate']; - $output = $filter['output']; $advanced_filter = $filter['advanced_filter']; } else { $name = ''; @@ -95,7 +94,6 @@ if ($id) { $dst_port = ''; $src_port = ''; $aggregate = 'dstip'; - $output = 'bytes'; $advanced_filter = ''; } @@ -103,7 +101,6 @@ if ($update) { $name = (string) get_parameter('name'); $assign_group = (int) get_parameter('assign_group'); $aggregate = get_parameter('aggregate', ''); - $output = get_parameter('output', 'bytes'); $ip_dst = get_parameter('ip_dst', ''); $ip_src = get_parameter('ip_src', ''); $dst_port = get_parameter('dst_port', ''); @@ -123,7 +120,6 @@ if ($update) { 'dst_port' => $dst_port, 'src_port' => $src_port, 'advanced_filter' => $advanced_filter, - 'output' => $output, ]; // Save filter args @@ -143,7 +139,6 @@ if ($create) { $name = (string) get_parameter('name'); $assign_group = (int) get_parameter('assign_group'); $aggregate = get_parameter('aggregate', 'dstip'); - $output = get_parameter('output', 'bytes'); $ip_dst = get_parameter('ip_dst', ''); $ip_src = get_parameter('ip_src', ''); $dst_port = get_parameter('dst_port', ''); @@ -159,7 +154,6 @@ if ($create) { 'src_port' => $src_port, 'aggregate' => $aggregate, 'advanced_filter' => $advanced_filter, - 'output' => $output, ]; // Save filter args @@ -241,7 +235,6 @@ $table->data[7][1] = html_print_textarea('advanced_filter', 4, 40, $advanced_fil $table->data[8][0] = ''.__('Aggregate by').''.ui_print_help_icon('aggregate_by', true); $aggregate_list = [ - 'proto' => __('Protocol'), 'srcip' => __('Src Ip Address'), 'dstip' => __('Dst Ip Address'), 'srcport' => __('Src Port'), @@ -250,15 +243,6 @@ $aggregate_list = [ $table->data[8][1] = html_print_select($aggregate_list, 'aggregate', $aggregate, '', '', 0, true, false, true, '', false); -$table->data[9][0] = ''.__('Output format').''; -$show_output = [ - 'kilobytes' => __('Kilobytes'), - 'megabytes' => __('Megabytes'), - 'kilobytespersecond' => __('Kilobytes per second'), - 'megabytespersecond' => __('Megabytes per second'), -]; -$table->data[9][1] = html_print_select($show_output, 'output', $output, '', '', 0, true, false, true, '', false); - echo '
'; html_print_table($table); echo '
';