Browse Source

fix to make RPC available across users

pull/1/head
Joseph Henry 9 years ago
parent
commit
295445afe0
  1. 3
      src/tap.cpp

3
src/tap.cpp

@ -141,6 +141,9 @@ NetconEthernetTap::NetconEthernetTap(
#endif
_unixListenSocket = _phy.unixListen(sockPath,(void *)this);
chmod(sockPath, 0777); // To make the RPC socket available to all users
DEBUG_INFO("tap initialized on: path=%s", sockPath);
if (!_unixListenSocket)
DEBUG_ERROR("unable to bind to: path=%s", sockPath);

Loading…
Cancel
Save