BUG11466: Fix network_equal function
authorAlexander Marx <alexander.marx@ipfire.org>
Tue, 7 Nov 2017 13:17:27 +0000 (14:17 +0100)
committerMichael Tremer <michael.tremer@ipfire.org>
Tue, 7 Nov 2017 16:16:18 +0000 (16:16 +0000)
commit1047805dba564994a96da0adbfb6559a8609ec11
tree6ee87a228034d759cef85f858a2dd7b9c60ff954
parentb3d2f86b877c1ad1b45370d1e96b520235854daf
BUG11466: Fix network_equal function

The network_equal function only tested the subnet addresses of two given networks which lead to
errormessages saying "This is the green network"
The fix tests netwok and subnet IP's to fix this

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
config/cfgroot/network-functions.pl