swrap: Allow to open NETLINK sockets when loaded
authorAndreas Schneider <asn@samba.org>
Thu, 5 Nov 2015 13:44:26 +0000 (14:44 +0100)
committerAndreas Schneider <asn@samba.org>
Wed, 24 Feb 2016 07:29:24 +0000 (08:29 +0100)
Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
src/socket_wrapper.c

index 9ba212bafe41ea7a9d0ba431407f2cf36347638c..a04a7053c6857008a38ba516f1d44771b2640138 100644 (file)
@@ -2384,6 +2384,7 @@ static int swrap_socket(int family, int type, int protocol)
        case AF_INET6:
 #endif
                break;
+       case AF_NETLINK:
        case AF_UNIX:
                return libc_socket(family, type, protocol);
        default: