summaryrefslogtreecommitdiff
path: root/tests/helpers/c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/helpers/c')
-rw-r--r--tests/helpers/c/main.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/helpers/c/main.c b/tests/helpers/c/main.c
index cd2b5665e2..fdda7f1e2a 100644
--- a/tests/helpers/c/main.c
+++ b/tests/helpers/c/main.c
@@ -3,6 +3,7 @@
*/
#include <zebra.h>
+#include <sys/stat.h>
#include <lib/version.h>
#include "getopt.h"
@@ -152,7 +153,7 @@ int main(int argc, char **argv)
}
/* Create VTY socket */
- vty_serv_sock(vty_addr, vty_port, "/tmp/.heavy.sock");
+ vty_serv_start(vty_addr, vty_port, "/tmp/.heavy.sock");
/* Configuration file read*/
if (!config_file)