]> git.ipfire.org Git - people/stevee/network.git/commit
ip: rename ip_is_network to ip_net_is_valid
authorJonatan Schlag <jonatan.schlag@ipfire.org>
Fri, 2 Jun 2017 09:46:53 +0000 (11:46 +0200)
committerMichael Tremer <michael.tremer@ipfire.org>
Wed, 7 Jun 2017 16:32:17 +0000 (18:32 +0200)
commit8b0958b26165c9b3d19068db4c54584632bacb45
tree73afd621aaf418afb09fc0e1023f7b261992720b
parent89c73b1461b29f8146214e965b3405b2523434c3
ip: rename ip_is_network to ip_net_is_valid

We rename this function to state clear what the function is actually doing.
The function checks if a network is valid and not if something is a network or not.

Fixes: 11357
Signed-off-by: Jonatan Schlag <jonatan.schlag@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Makefile.am
src/functions/functions.ip
src/functions/functions.route
test/functions/ip/ip_net_is_valid [moved from test/functions/ip/ip_is_network with 83% similarity]