Commit b5866d1a authored by Léo-Paul Géneau's avatar Léo-Paul Géneau 👾

Set multicast network interface to eth0

parent e5e39b54
......@@ -171,8 +171,10 @@ static JSValue js_run_pubsub(JSContext *ctx, JSValueConst this_val,
UA_String transportProfile =
UA_STRING("http://opcfoundation.org/UA-Profile/Transport/pubsub-udp-uadp");
UA_NetworkAddressUrlDataType networkAddressUrl =
{UA_STRING_NULL , UA_STRING(urlBuffer)};
UA_NetworkAddressUrlDataType networkAddressUrl;
networkAddressUrl.networkInterface = UA_STRING("eth0");
networkAddressUrl.url = UA_STRING(urlBuffer);
if (JS_ToInt32(ctx, &id, argv[2]))
return JS_EXCEPTION;
......
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