diff --git a/sysdeps/managarm/generic/socket.cpp b/sysdeps/managarm/generic/socket.cpp index a979bdfc5a..71286e4c28 100644 --- a/sysdeps/managarm/generic/socket.cpp +++ b/sysdeps/managarm/generic/socket.cpp @@ -438,6 +438,9 @@ int sys_setsockopt(int fd, int layer, int number, }else if(layer == IPPROTO_TCP && number == TCP_KEEPIDLE) { mlibc::infoLogger() << "\e[31mmlibc: setsockopt() call with IPPROTO_TCP and TCP_KEEPIDLE is unimplemented\e[39m" << frg::endlog; return 0; + }else if(layer == SOL_NETLINK && number == NETLINK_BROADCAST_ERROR) { + mlibc::infoLogger() << "\e[31mmlibc: setsockopt() call with SOL_NETLINK and NETLINK_BROADCAST_ERROR is unimplemented\e[39m" << frg::endlog; + return 0; }else if(layer == SOL_NETLINK && number == NETLINK_EXT_ACK) { mlibc::infoLogger() << "\e[31mmlibc: setsockopt() call with SOL_NETLINK and NETLINK_EXT_ACK is unimplemented\e[39m" << frg::endlog; return 0; @@ -450,6 +453,9 @@ int sys_setsockopt(int fd, int layer, int number, }else if(layer == IPPROTO_TCP && number == TCP_KEEPCNT) { mlibc::infoLogger() << "\e[31mmlibc: setsockopt() call with IPPROTO_TCP and TCP_KEEPCNT is unimplemented\e[39m" << frg::endlog; return 0; + }else if(layer == IPPROTO_IP && number == IP_PKTINFO) { + mlibc::infoLogger() << "\e[31mmlibc: setsockopt() call with IPPROTO_IP and IP_PKTINFO is unimplemented\e[39m" << frg::endlog; + return 0; }else{ mlibc::panicLogger() << "\e[31mmlibc: Unexpected setsockopt() call, layer: " << layer << " number: " << number << "\e[39m" << frg::endlog; __builtin_unreachable();