Fixes a number of minor bugs in network-functions.pl where comparisons of binary network representations is done using string rather than integer comparision operators, and checks for undefined values are done on the wrong variables.
Also enhances the testsuite to display information on failed test.
Fixes: 12263
Tim FitzGeorge (3): network-functions.pl : Enhance testsuite to show cause of error network-functions.pl : Compare correct variables in network_equal network-functions.pl : Use integer comparison rather than string
config/cfgroot/network-functions.pl | 35 ++++++++++++++++++----------------- 1 file changed, 18 insertions(+), 17 deletions(-)