X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=src%2Fplugins%2Fmap%2Fmap_api.c;fp=src%2Fplugins%2Fmap%2Fmap_api.c;h=e65174eaf88f72effdde0da0cefac96a2bb207e5;hb=df87f8092f5b6b54eef0d5acf3c27c2e398a401a;hp=94d2458dd79bfff66b73a94c3c7326c9c24dcad0;hpb=c95cfa218b214bd1c67dc165b4ed1fb7a224bdad;p=vpp.git diff --git a/src/plugins/map/map_api.c b/src/plugins/map/map_api.c index 94d2458dd79..e65174eaf88 100644 --- a/src/plugins/map/map_api.c +++ b/src/plugins/map/map_api.c @@ -153,7 +153,10 @@ vl_api_map_domains_get_t_handler (vl_api_map_domains_get_t * mp) 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,