summaryrefslogtreecommitdiffstats
path: root/src/plugins/lacp/node.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/lacp/node.c')
-rw-r--r--src/plugins/lacp/node.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/plugins/lacp/node.c b/src/plugins/lacp/node.c
index 8eb78876461..447e85fd373 100644
--- a/src/plugins/lacp/node.c
+++ b/src/plugins/lacp/node.c
@@ -101,6 +101,7 @@ lacp_node_fn (vlib_main_t * vm,
len = (b0->current_length < sizeof (t0->pkt))
? b0->current_length : sizeof (t0->pkt);
t0->len = len;
+ t0->sw_if_index = vnet_buffer (b0)->sw_if_index[VLIB_RX];
clib_memcpy (&t0->pkt, vlib_buffer_get_current (b0), len);
}
/* push this pkt to the next graph node, always error-drop */