aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/map/map_api.c
diff options
context:
space:
mode:
authorNeale Ranns <neale@graphiant.com>2021-02-02 09:21:52 +0000
committerOle Tr�an <otroan@employees.org>2021-02-03 15:09:50 +0000
commit9302cfea9ded05f01fb84a77d248b8787ec2cac5 (patch)
tree4fb2fb8475f19bd15c44dac77e78c870438c01dd /src/plugins/map/map_api.c
parent6d467b3ad530bef468a1ab3c6f80a6c2ab6e08d8 (diff)
vppapigen: Support an 'autoendian' keyword for message definitions in
.api files Type: feature Make the auto-endian nature explicit, rather than hidden in the x_api.c file. Signed-off-by: Neale Ranns <neale@graphiant.com> Change-Id: Ibe647117ceeaf6f99a38a96576a5a41a3cbb1615
Diffstat (limited to 'src/plugins/map/map_api.c')
-rw-r--r--src/plugins/map/map_api.c2
1 files changed, 0 insertions, 2 deletions
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;
}