diff options
Diffstat (limited to 'vpp/api/api.c')
-rw-r--r-- | vpp/api/api.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vpp/api/api.c b/vpp/api/api.c index c1f7fef6..4809a6e5 100644 --- a/vpp/api/api.c +++ b/vpp/api/api.c @@ -3454,7 +3454,7 @@ static void vl_api_sr_policy_add_del_t_handler goto out; } - if (!(mp->tunnel_names)) + if (!(mp->tunnel_names[0])) { rv = VNET_API_ERROR_NO_SUCH_NODE2; goto out; |