[PATCH 3/3] network-functions.pl : Use integer comparison rather than string