Project

General

Profile

Actions

Bug #1648

closed

Print stats if an iface doesn't exist

Added by Giuseppe Longo almost 6 years ago. Updated over 2 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Target version:
-
Affected Versions:
Effort:
Difficulty:
Label:

Description

Suricata outputs stats even if an interface doesn't exist,
this means that a division by 0 occurs:
https://github.com/inliniac/suricata/blob/master/src/util-device.c#L190

Actions

Also available in: Atom PDF