Fixing a typo that caused trouble for ipv6 udp

A typo in if statement that I changed prevented ipv6 udp sockets
from updating after binding. Leaving host, port etc empty.
Merge pull request #157 from boyvanamstel/ipv6_fix

Fixing a typo that caused trouble for ipv6 udp