summaryrefslogtreecommitdiffstats
path: root/src/vcl/sock_test_server.c
diff options
context:
space:
mode:
authorDave Wallace <dwallacelf@gmail.com>2018-02-07 18:14:02 -0500
committerDamjan Marion <dmarion.lists@gmail.com>2018-02-08 10:02:31 +0000
commitc04cbf16ccfd9ef142937e4684af6093d812a866 (patch)
treed2cf4f8440bd63e82c6e313e25517ee1e12551b7 /src/vcl/sock_test_server.c
parente7d212fe41de88863884dc24dff9e24e5f37b421 (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_server.c')
-rw-r--r--src/vcl/sock_test_server.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/vcl/sock_test_server.c b/src/vcl/sock_test_server.c
index 75ee1d72c74..54769817c0f 100644
--- a/src/vcl/sock_test_server.c
+++ b/src/vcl/sock_test_server.c
@@ -394,8 +394,7 @@ main (int argc, char **argv)
else
{
ssm->listen_fd =
- vppcom_session_create (VPPCOM_VRF_DEFAULT, VPPCOM_PROTO_TCP,
- 0 /* is_nonblocking */ );
+ vppcom_session_create (VPPCOM_PROTO_TCP, 0 /* is_nonblocking */ );
}
#else
ssm->listen_fd = socket (AF_INET, SOCK_STREAM, 0);
@@ -416,7 +415,6 @@ main (int argc, char **argv)
servaddr.sin_port = htons (port);
#ifdef VCL_TEST
- endpt.vrf = VPPCOM_VRF_DEFAULT;
endpt.is_ip4 = (servaddr.sin_family == AF_INET);
endpt.ip = (uint8_t *) & servaddr.sin_addr;
endpt.port = (uint16_t) servaddr.sin_port;