NetUtils: Support Solaris 10 in netmask_to_cidr(). Solaris 10 has the netmask in hexadecimal without the 0x prefix. Eg: lo0: flags=2001000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4,VIRTUAL> mtu 8232 index 1 inet 127.0.0.1 netmask ff000000