return;
/* *INDENT-OFF* */
- pool_foreach_index(i, mm->domains,
- ({
+ pool_foreach_index (i, mm->domains)
+ {
send_domain_details(i, reg, mp->context);
- }));
+ }
/* *INDENT-ON* */
}
i32 rv = 0;
if (pool_elts (mm->domains) == 0)
- return;
+ {
+ REPLY_MACRO (VL_API_MAP_DOMAINS_GET_REPLY);
+ return;
+ }
/* *INDENT-OFF* */
REPLY_AND_DETAILS_MACRO (VL_API_MAP_DOMAINS_GET_REPLY, mm->domains,
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;
}