MAC OSX IPv6 support

Signed-off-by: Gregory Detal <gregory.detal@uclouvain.be>