]> git.ipfire.org Git - people/ms/network.git/commit - src/functions/functions.ipv4
ip_is_valid: Refactor functions
authorJonatan Schlag <jonatan.schlag@ipfire.org>
Tue, 30 May 2017 09:26:16 +0000 (11:26 +0200)
committerMichael Tremer <michael.tremer@ipfire.org>
Tue, 30 May 2017 14:53:26 +0000 (15:53 +0100)
commitb2cb673661c3c4271973afc5c8d4f68518f781ca
tree5f9766d694c6c935a4007ace3f27070d83ec717d
parentf04e7377553a532a4fe04b6b3cc86afc85d2f70a
ip_is_valid: Refactor functions

These now check more precisely if a prefix that is given with
an IP address is valid, too

Signed-off-by: Jonatan Schlag <jonatan.schlag@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
src/functions/functions.ip
src/functions/functions.ipv4
src/functions/functions.ipv6