mirror of https://github.com/OISF/suricata
util-ioctl: only get MTU when iface name is set
This patch fixes a warning message when suricata is started without giving an interface name on the command line. The code was trying to get the MTU even if pcap_dev was not set.pull/931/head
parent
79c924af8c
commit
6e77c4d1b4
Loading…
Reference in New Issue