Minor modification in netutil to check number of connected interfaces.