diff --git a/iguana/exchanges/LP_nativeDEX.c b/iguana/exchanges/LP_nativeDEX.c index fc5c9d976..5dc541d77 100644 --- a/iguana/exchanges/LP_nativeDEX.c +++ b/iguana/exchanges/LP_nativeDEX.c @@ -409,7 +409,7 @@ void LPinit(uint16_t myport,uint16_t mypullport,uint16_t mypubport,double profit timeout = 1; nn_setsockopt(pullsock,NN_SOL_SOCKET,NN_RCVTIMEO,&timeout,sizeof(timeout)); #ifdef __APPLE__ - sprintf(bindaddr,"ws://%s:%u",myipaddr,mypullport); + sprintf(bindaddr,"ws://[*]:%u",mypullport); //nanomsg_tcpname(bindaddr,myipaddr,mypullport); #else nanomsg_tcpname(bindaddr,myipaddr,mypullport);