aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins')
-rw-r--r--src/plugins/map/map.api2
-rw-r--r--src/plugins/map/map_api.c2
2 files changed, 1 insertions, 3 deletions
diff --git a/src/plugins/map/map.api b/src/plugins/map/map.api
index dfe255bf349..ba733e35de3 100644
--- a/src/plugins/map/map.api
+++ b/src/plugins/map/map.api
@@ -30,7 +30,7 @@ import "vnet/interface_types.api";
@param mtu - MTU. default 1280
@param tag - A user field stored with the MAP
*/
-define map_add_domain
+autoendian define map_add_domain
{
u32 client_index;
u32 context;
diff --git a/src/plugins/map/map_api.c b/src/plugins/map/map_api.c
index 4d2378a072f..bcc0c27c742 100644
--- a/src/plugins/map/map_api.c
+++ b/src/plugins/map/map_api.c
@@ -560,8 +560,6 @@ map_plugin_api_hookup (vlib_main_t * vm)
mm->msg_id_base = setup_message_id_table ();
- api_main_t *am = vlibapi_get_main ();
- am->is_autoendian[mm->msg_id_base + VL_API_MAP_ADD_DOMAIN] = 1;
return 0;
}