mirror of
https://github.com/openwrt/packages.git
synced 2025-12-21 21:24:31 +04:00
12 lines
373 B
Diff
12 lines
373 B
Diff
--- a/src/nd-netlink.cpp
|
|
+++ b/src/nd-netlink.cpp
|
|
@@ -144,7 +144,7 @@ ndNetlink::ndNetlink(const nd_ifaces &ifaces)
|
|
throw ndNetlinkException(strerror(rc));
|
|
}
|
|
|
|
- if (bind(nd,
|
|
+ if (::bind(nd,
|
|
(struct sockaddr *)&sa, sizeof(struct sockaddr_nl)) < 0) {
|
|
rc = errno;
|
|
nd_printf("Error binding netlink socket: %s\n", strerror(rc));
|