(CFACT-86) Solaris: fix network address

Previously, the networking resolver did not resolve the network address
correctly. This patch gets the network address from the ipaddress and the
netmask correctly.
@peterhuene sorry, I missed this comment, I have fixed the way I call ioctl.