Loading src/network.cpp +1 −1 Changes for src/network.cpp: 1 added line, 1 removed line. Original line number Diff line number Diff line Loading @@ -74,7 +74,7 @@ static int netlinkOpen() { struct sockaddr_nl sa{}; sa.nl_family = AF_NETLINK; sa.nl_pid = getpid(); sa.nl_pid = 0; // kernel picks; getpid() collides with the link monitor socket if (bind(fd, reinterpret_cast<struct sockaddr *>(&sa), sizeof(sa)) < 0) { close(fd); return -1; Loading Loading
src/network.cpp +1 −1 Changes for src/network.cpp: 1 added line, 1 removed line. Original line number Diff line number Diff line Loading @@ -74,7 +74,7 @@ static int netlinkOpen() { struct sockaddr_nl sa{}; sa.nl_family = AF_NETLINK; sa.nl_pid = getpid(); sa.nl_pid = 0; // kernel picks; getpid() collides with the link monitor socket if (bind(fd, reinterpret_cast<struct sockaddr *>(&sa), sizeof(sa)) < 0) { close(fd); return -1; Loading