general-functions.pl: Subroutine getnetworkip() accepted multiple arguments