Update manager.cc

Patch ipv6 => https://gist.github.com/yysfire/4538684