X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=vpp-api-test%2Fvat%2Fapi_format.c;h=258c67f8e0cbf7519f8a0e95c83615754e2519ba;hb=56912c896ae803fad01af390ade921be68ea5ba2;hp=85821ee287b20202547ee048aec5993272ac6328;hpb=6d403a013276f095e542c9b6281db96354fa6f07;p=vpp.git diff --git a/vpp-api-test/vat/api_format.c b/vpp-api-test/vat/api_format.c index 85821ee287b..258c67f8e0c 100644 --- a/vpp-api-test/vat/api_format.c +++ b/vpp-api-test/vat/api_format.c @@ -10372,6 +10372,11 @@ api_vxlan_add_del_tunnel (vat_main_t * vam) errmsg ("tunnel nonexistent multicast device\n"); return -99; } + if (grp_set == 0 && ip46_address_is_multicast (&dst)) + { + errmsg ("tunnel dst address must be unicast\n"); + return -99; + } if (ipv4_set && ipv6_set)