Hello, On 04/02/15 18:33, Olle E. Johansson wrote: > Hi! > > While testing my pipelimit patch I got tons of these messages on my poor Mac: > > 2(32754) ERROR: <core> [statistics.c:385]: get_used_waiting_queue(): Could > not open /proc/net/tcp. kamailioMsgQueueDepth and its related alarms will not > be available. > 2(32754) ERROR: <core> [statistics.c:385]: get_used_waiting_queue(): Could > not open /proc/net/udp. kamailioMsgQueueDepth and its related alarms will not > be available. > 2(32754) ERROR: <core> [statistics.c:385]: get_used_waiting_queue(): Could > not open /proc/net/tcp. kamailioMsgQueueDepth and its related alarms will not > be available. > 2(32754) ERROR: <core> [statistics.c:385]: get_used_waiting_queue(): Could > not open /proc/net/tcp. kamailioMsgQueueDepth and its related alarms will not > be available. > 2(32754) ERROR: <core> [statistics.c:385]: get_used_waiting_queue(): Could > not open /proc/net/udp. kamailioMsgQueueDepth and its related alarms will not > be available. > > > Would it be ok to disable this whole function and return 0 if we're not on a > Linux system? > I think about using #ifdef / #endif it is ok for me, you can go ahead and push a fix for it.
Cheers, Daniel -- Daniel-Constantin Mierla http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda _______________________________________________ sr-dev mailing list [email protected] http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev
