diff options
author | Eyal Bari <ebari@cisco.com> | 2017-07-16 09:34:53 +0300 |
---|---|---|
committer | Eyal Bari <ebari@cisco.com> | 2017-07-24 08:21:52 +0300 |
commit | 001fd406df771f1cf73ca0dea440c8bde309e077 (patch) | |
tree | bfa98f32f5cba2d5fe06e2bc39a03b4d6ce98112 /src/vpp/api | |
parent | beb0b2e346c63e21ffe892ae0e04b67bb10fba5e (diff) |
SPAN:add l2 mirror
added span feature nodes for l2-input / l2-output
Change-Id: Ib6e0ce60d0811901b6edd70209e6a4c4a35cd8ff
Signed-off-by: Eyal Bari <ebari@cisco.com>
Diffstat (limited to 'src/vpp/api')
-rw-r--r-- | src/vpp/api/custom_dump.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/vpp/api/custom_dump.c b/src/vpp/api/custom_dump.c index 7f3a58d9..55a362a3 100644 --- a/src/vpp/api/custom_dump.c +++ b/src/vpp/api/custom_dump.c @@ -2227,6 +2227,9 @@ static void *vl_api_sw_interface_span_enable_disable_t_print s = format (s, "src_sw_if_index %u ", ntohl (mp->sw_if_index_from)); s = format (s, "dst_sw_if_index %u ", ntohl (mp->sw_if_index_to)); + if (mp->is_l2) + s = format (s, "l2 "); + switch (mp->state) { case 0: |