Vitezslav Samel <vitezslav(a)samel.cz> writes:
Create iface_get_mtu() and use it all over the place.
Signed-off-by: Vitezslav Samel <vitezslav(a)samel.cz>
---
src/ifaces.c | 24 ++++++++++++++++++++++++
src/ifaces.h | 1 +
src/pktsize.c | 39 ++++++++++++++++-----------------------
3 files changed, 41 insertions(+), 23 deletions(-)
I see your point, but you haven't check any returned value from
iface_get_mtu().
--
Nikola