summaryrefslogtreecommitdiffstats
path: root/src/plugins/gbp/gbp.api
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/gbp/gbp.api')
-rw-r--r--src/plugins/gbp/gbp.api4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/gbp/gbp.api b/src/plugins/gbp/gbp.api
index 303ea1c15cc..ae45159d705 100644
--- a/src/plugins/gbp/gbp.api
+++ b/src/plugins/gbp/gbp.api
@@ -299,10 +299,10 @@ typedef gbp_contract
u16 sclass;
u16 dclass;
u32 acl_index;
+ u8 n_ether_types;
+ u16 allowed_ethertypes[16];
u8 n_rules;
vl_api_gbp_rule_t rules[n_rules];
- u8 n_ether_types;
- u16 allowed_ethertypes[n_ether_types];
};
autoreply define gbp_contract_add_del