summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndreas Schneider <asn@samba.org>2015-11-05 14:44:26 +0100
committerAndreas Schneider <asn@samba.org>2016-02-24 08:29:24 +0100
commitad9e56e2b695cdba7000829c43d7c444a227fe4d (patch)
treeb42e30c04899568782a5691d49ed626779c3bbbf
parentc7c45b0f2abf2fb278c7a63a24090fad3df28fee (diff)
downloadsocket_wrapper-ad9e56e2b695cdba7000829c43d7c444a227fe4d.tar.gz
socket_wrapper-ad9e56e2b695cdba7000829c43d7c444a227fe4d.tar.xz
socket_wrapper-ad9e56e2b695cdba7000829c43d7c444a227fe4d.zip
swrap: Allow to open NETLINK sockets when loaded
Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org>
-rw-r--r--src/socket_wrapper.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/socket_wrapper.c b/src/socket_wrapper.c
index 9ba212b..a04a705 100644
--- a/src/socket_wrapper.c
+++ b/src/socket_wrapper.c
@@ -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: