summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/vcl/ldp.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/vcl/ldp.c b/src/vcl/ldp.c
index f27f6ba8e97..4d62a7318d4 100644
--- a/src/vcl/ldp.c
+++ b/src/vcl/ldp.c
@@ -2067,6 +2067,9 @@ setsockopt (int fd, int level, int optname,
rv = vls_attr (vlsh, VPPCOM_ATTR_SET_BROADCAST,
(void *) optval, &optlen);
break;
+ case SO_LINGER:
+ rv = 0;
+ break;
default:
LDBG (0, "ERROR: fd %d: setsockopt SOL_SOCKET: vlsh %u "
"optname %d unsupported!", fd, vlsh, optname);