diff options
Diffstat (limited to 'source/lib/socket/socket.c')
-rw-r--r-- | source/lib/socket/socket.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/source/lib/socket/socket.c b/source/lib/socket/socket.c index 4fde41a3c0b..f364ca7c9f1 100644 --- a/source/lib/socket/socket.c +++ b/source/lib/socket/socket.c @@ -240,5 +240,9 @@ const struct socket_ops *socket_getops_byname(const char *name, enum socket_type return socket_ipv4_ops(); } + if (strequal("unix", name)) { + return socket_ipv4_ops(); + } + return NULL; } |