Fix ip listing in Mac OSX