diff options
Diffstat (limited to 'src/socket_wrapper.c')
-rw-r--r-- | src/socket_wrapper.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/socket_wrapper.c b/src/socket_wrapper.c index 6e65a7e..068cb08 100644 --- a/src/socket_wrapper.c +++ b/src/socket_wrapper.c @@ -2407,6 +2407,9 @@ static int swrap_socket(int family, int type, int protocol) #ifdef AF_NETLINK case AF_NETLINK: #endif /* AF_NETLINK */ +#ifdef AF_PACKET + case AF_PACKET: +#endif /* AF_PACKET */ case AF_UNIX: return libc_socket(family, type, protocol); default: |