fixed missing semicolon if compiling without ipv6