summaryrefslogtreecommitdiffstats
path: root/src/vnet
diff options
context:
space:
mode:
authorOle Troan <ot@cisco.com>2019-11-19 04:38:20 +0100
committerNeale Ranns <nranns@cisco.com>2019-11-22 14:05:24 +0000
commit418ebb711e7f32a160f824cee7de0122076d216a (patch)
tree04110928ec67ec5e19e3805c44880eec24e7b13d /src/vnet
parentd35fefe8bb0b7d8db76990665fbc4214ee0240b2 (diff)
papi: support default for type alias decaying to basetype
Add PAPI support for VppTypeAlias decaying to BaseType. E.g vl_api_interface_index_t sw_if_index [default=0xffffffff] Type: feature Signed-off-by: Ole Troan <ot@cisco.com> Change-Id: I2061392157c9c11fbb0ff9e5406ea65489b017e9
Diffstat (limited to 'src/vnet')
-rw-r--r--src/vnet/interface.api2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vnet/interface.api b/src/vnet/interface.api
index 39bb9ca0fcc..1ecd3472f72 100644
--- a/src/vnet/interface.api
+++ b/src/vnet/interface.api
@@ -204,7 +204,7 @@ define sw_interface_dump
{
u32 client_index;
u32 context;
- vl_api_interface_index_t sw_if_index;
+ vl_api_interface_index_t sw_if_index [default=0xFFFFFFFF];
bool name_filter_valid;
string name_filter[];
};