noip.c: Allow PF_NETLINK sockets.
[preload-hacks] / noip.c
diff --git a/noip.c b/noip.c
index 1dac168..7a1b1b4 100644 (file)
--- a/noip.c
+++ b/noip.c
@@ -841,6 +841,9 @@ int socket(int pf, int ty, int proto)
       pf = PF_UNIX;
       proto = 0;
     case PF_UNIX:
+#ifdef PF_NETLINK
+    case PF_NETLINK:
+#endif
       return real_socket(pf, ty, proto);
     default:
       errno = EAFNOSUPPORT;