ipsec-tools: revise helper functions for sockets.

getlocaladdr() will return the address on the interface.
setsockopt_bypass() will give warnings on failure instead of errors.

Change-Id: I4d95633066d136bd0b9732dd62b2c43184daee4b
1 file changed