diff --git a/net/netifyd/Makefile b/net/netifyd/Makefile index c64cd15d8..8fbb92b28 100644 --- a/net/netifyd/Makefile +++ b/net/netifyd/Makefile @@ -6,7 +6,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=netifyd -PKG_RELEASE:=1 +PKG_RELEASE:=2 PKG_MAINTAINER:=Darryl Sokoloski PKG_LICENSE:=GPL-3.0-or-later diff --git a/net/netifyd/patches/010-bind.patch b/net/netifyd/patches/010-bind.patch new file mode 100644 index 000000000..a5dafb1e2 --- /dev/null +++ b/net/netifyd/patches/010-bind.patch @@ -0,0 +1,11 @@ +--- 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));