[v2] util: add function mtu_is_valid

Message ID 1496816674-6333-1-git-send-email-jonatan.schlag@ipfire.org
State New
Headers show

Message

Jonatan Schlag June 7, 2017, 6:24 a.m.
This function checks if an mtu is valid for a given IP protocol.

Signed-off-by: Jonatan Schlag <jonatan.schlag@ipfire.org>
---
 src/functions/functions.util | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)