[2/4] ip: restructure ip_net_is_valid

Message ID 1496489110-10134-2-git-send-email-jonatan.schlag@ipfire.org
State New
Headers show

Message

Jonatan Schlag June 3, 2017, 11:25 a.m.
Insted of checking the network manually we now just calö ipv4_net_is_valid or
ipv6_net_is_valid

Signed-off-by: Jonatan Schlag <jonatan.schlag@ipfire.org>
---
 src/functions/functions.ip | 23 +++++++----------------
 1 file changed, 7 insertions(+), 16 deletions(-)