mirror of https://github.com/OISF/suricata
util/ioctl: use LiveDevice to retrieve name
The fn GetIfaceMaxPacketSize now uses LiveDevice object as a param instead of a string. This was done to keep the logic of checking for the device to this function itself instead of having callers first determine whether the device exists or not. This also falls in line with the changes made to avoid excessive MTU logs in the following commit. Related to redmine ticket 5831.pull/9492/head
parent
4639a62eb7
commit
572f8a3da6
Loading…
Reference in New Issue