aboutsummaryrefslogtreecommitdiffstats
path: root/src/vnet
diff options
context:
space:
mode:
Diffstat (limited to 'src/vnet')
-rw-r--r--src/vnet/vxlan-gbp/vxlan_gbp_api.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vnet/vxlan-gbp/vxlan_gbp_api.c b/src/vnet/vxlan-gbp/vxlan_gbp_api.c
index 6a87d4dda52..aff5f841909 100644
--- a/src/vnet/vxlan-gbp/vxlan_gbp_api.c
+++ b/src/vnet/vxlan-gbp/vxlan_gbp_api.c
@@ -81,7 +81,7 @@ vxlan_gbp_tunnel_mode_decode (vl_api_vxlan_gbp_api_tunnel_mode_t in,
*out = VXLAN_GBP_TUNNEL_MODE_L3;
return (0);
}
- return (1);
+ return (VNET_API_ERROR_INVALID_VALUE);
}
static void vl_api_vxlan_gbp_tunnel_add_del_t_handler