diff options
author | Dave Wallace <dwallacelf@gmail.com> | 2018-02-07 18:14:02 -0500 |
---|---|---|
committer | Damjan Marion <dmarion.lists@gmail.com> | 2018-02-08 10:02:31 +0000 |
commit | c04cbf16ccfd9ef142937e4684af6093d812a866 (patch) | |
tree | d2cf4f8440bd63e82c6e313e25517ee1e12551b7 /src/vcl/sock_test_client.c | |
parent | e7d212fe41de88863884dc24dff9e24e5f37b421 (diff) |
VCL: remove vrf from vppcom api.
Change-Id: I6d91c8051de786fb8781cd0750ea9c350036b306
Signed-off-by: Dave Wallace <dwallacelf@gmail.com>
Diffstat (limited to 'src/vcl/sock_test_client.c')
-rw-r--r-- | src/vcl/sock_test_client.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/vcl/sock_test_client.c b/src/vcl/sock_test_client.c index 563b05fd8dd..ddb9e7fb20a 100644 --- a/src/vcl/sock_test_client.c +++ b/src/vcl/sock_test_client.c @@ -508,8 +508,7 @@ sock_test_connect_test_sockets (uint32_t num_test_sockets) tsock = &scm->test_socket[i]; #ifdef VCL_TEST tsock->fd = - vppcom_session_create (VPPCOM_VRF_DEFAULT, VPPCOM_PROTO_TCP, - 1 /* is_nonblocking */ ); + vppcom_session_create (VPPCOM_PROTO_TCP, 1 /* is_nonblocking */ ); if (tsock->fd < 0) { errno = -tsock->fd; @@ -945,7 +944,7 @@ main (int argc, char **argv) } else { - ctrl->fd = vppcom_session_create (VPPCOM_VRF_DEFAULT, VPPCOM_PROTO_TCP, + ctrl->fd = vppcom_session_create (VPPCOM_PROTO_TCP, 0 /* is_nonblocking */ ); if (ctrl->fd < 0) { @@ -973,7 +972,6 @@ main (int argc, char **argv) scm->server_addr.sin_port = htons (atoi (argv[optind])); #ifdef VCL_TEST - scm->server_endpt.vrf = VPPCOM_VRF_DEFAULT; scm->server_endpt.is_ip4 = (scm->server_addr.sin_family == AF_INET); scm->server_endpt.ip = (uint8_t *) & scm->server_addr.sin_addr; scm->server_endpt.port = (uint16_t) scm->server_addr.sin_port; |