diff options
Diffstat (limited to 'src/vpp-api/client/test.c')
-rw-r--r-- | src/vpp-api/client/test.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vpp-api/client/test.c b/src/vpp-api/client/test.c index da2211b6459..308492d5f11 100644 --- a/src/vpp-api/client/test.c +++ b/src/vpp-api/client/test.c @@ -87,7 +87,7 @@ test_connect () static void test_messages (void) { - api_main_t * am = &api_main; + api_main_t * am = vlibapi_get_main(); vl_api_show_version_t message; vl_api_show_version_t *mp; int async = 1; |