From 34d3415bab0de76e2d704cda1c786c06e110e2e7 Mon Sep 17 00:00:00 2001
From: yinbin <yinbin8@huawei.com>
Date: Wed, 11 Sep 2024 16:50:17 +0800
Subject: [PATCH] WRAP: support setsockopt SO_SNDTIMEO SO_SNBUF

---
 src/lstack/api/lstack_wrap.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/src/lstack/api/lstack_wrap.c b/src/lstack/api/lstack_wrap.c
index 8c3c731..92ce73b 100644
--- a/src/lstack/api/lstack_wrap.c
+++ b/src/lstack/api/lstack_wrap.c
@@ -424,8 +424,6 @@ static bool unsupport_socket_optname(int32_t optname)
 {
     if ((optname == SO_BROADCAST) ||
         (optname == SO_PROTOCOL) ||
-        (optname == SO_SNDTIMEO) ||
-        (optname == SO_SNDBUF) ||
         (optname == SO_RCVBUF) ||
         (optname == SO_DONTROUTE)) {
         return true;
-- 
2.33.0

