aboutsummaryrefslogtreecommitdiffstats
path: root/src/vcl/ldp.c
diff options
context:
space:
mode:
authorFlorin Coras <fcoras@cisco.com>2021-06-16 14:46:57 -0700
committerFlorin Coras <florin.coras@gmail.com>2021-06-16 23:25:44 +0000
commita95292ffdbfaf4288f3510d53bebf06ba1a8842a (patch)
tree66e1740c88bbafebf4e192383a442ba0fab9f246 /src/vcl/ldp.c
parent8b297dbcebd6b437b16dc6923f8144ea457c944a (diff)
vcl: fix fifo sharing
Type: fix Signed-off-by: Florin Coras <fcoras@cisco.com> Change-Id: Iec1fe8315a057214901250d5fb06d1c1e33dda46 (cherry picked from commit 8eb8d50ecfd7507aae340cb05a0fb07a790e4303)
Diffstat (limited to 'src/vcl/ldp.c')
-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 33b24a7a8bf..38d1301d722 100644
--- a/src/vcl/ldp.c
+++ b/src/vcl/ldp.c
@@ -1945,6 +1945,9 @@ getsockopt (int fd, int level, int optname,
case SO_ERROR:
rv = vls_attr (vlsh, VPPCOM_ATTR_GET_ERROR, optval, optlen);
break;
+ case SO_BINDTODEVICE:
+ rv = 0;
+ break;
default:
LDBG (0, "ERROR: fd %d: getsockopt SOL_SOCKET: vlsh %u "
"optname %d unsupported!", fd, vlsh, optname);