sysdeps/managarm: Stub setsockopt(SOL_SOCKET, SO_REUSEADDR)
@@ -345,6 +345,9 @@ int sys_setsockopt(int fd, int layer, int number,
}else if(layer == SOL_SOCKET && number == SO_KEEPALIVE) {
mlibc::infoLogger() << "\e[31mmlibc: setsockopt() call with SOL_SOCKET and SO_KEEPALIVE is unimplemented\e[39m" << frg::endlog;
return 0;
+ }else if(layer == SOL_SOCKET && number == SO_REUSEADDR) {
+ mlibc::infoLogger() << "\e[31mmlibc: setsockopt() call with SOL_SOCKET and SO_REUSEADDR is unimplemented\e[39m" << frg::endlog;
+ return 0;
}else if(layer == AF_NETLINK && number == SO_ACCEPTCONN) {
mlibc::infoLogger() << "\e[31mmlibc: setsockopt() call with AF_NETLINK and SO_ACCEPTCONN is unimplemented\e[39m" << frg::endlog;
return 0;
