aboutsummaryrefslogtreecommitdiffstats
path: root/hicn-plugin
diff options
context:
space:
mode:
Diffstat (limited to 'hicn-plugin')
-rw-r--r--hicn-plugin/src/hicn_api_test.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/hicn-plugin/src/hicn_api_test.c b/hicn-plugin/src/hicn_api_test.c
index e3b942b7b..3ca48d98a 100644
--- a/hicn-plugin/src/hicn_api_test.c
+++ b/hicn-plugin/src/hicn_api_test.c
@@ -900,6 +900,11 @@ api_hicn_api_mapme_default_route_get (vat_main_t *vam)
}
}
+ if (default_route == 0)
+ {
+ return 1;
+ }
+
/* Construct the API message */
M (HICN_API_MAPME_DEFAULT_ROUTE_GET, mp);