Commit 04483303 authored by Grzegorz Daniluk's avatar Grzegorz Daniluk

wrc_main: ptp-noposix now provides netInit to configure sockets

parent 4c59d09d
......@@ -258,6 +258,14 @@ void wrc_initialize()
initDataClock(&rtOpts, &ptpClockDS);
displayConfigINFO(&rtOpts);
//initialize sockets
if(!netInit(&ptpPortDS->netPath, &rtOpts, ptpPortDS))
{
PTPD_TRACE(TRACE_WRPC, NULL,"failed to initialize network\n");
return;
}
ptpPortDS->linkUP = FALSE;
}
#define LINK_WENT_UP 1
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment