diff options
Diffstat (limited to 'vpp')
-rw-r--r-- | vpp/api/api.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/vpp/api/api.c b/vpp/api/api.c index 41f57602550..52616cce821 100644 --- a/vpp/api/api.c +++ b/vpp/api/api.c @@ -3506,7 +3506,12 @@ static void vl_api_sr_multicast_map_add_del_t_handler goto out; } +#if DPDK > 0 /* Cannot call replicate without DPDK */ rv = ip6_sr_add_del_multicastmap (a); +#else + clib_warning ("multicast replication without DPDK not implemented"); + rv = VNET_API_ERROR_UNIMPLEMENTED; +#endif /* DPDK */ out: |