summaryrefslogtreecommitdiff
path: root/src/tools/cbr
diff options
context:
space:
mode:
Diffstat (limited to 'src/tools/cbr')
-rw-r--r--src/tools/cbr/cbr.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/tools/cbr/cbr.c b/src/tools/cbr/cbr.c
index cd29c9ad..597ae8a6 100644
--- a/src/tools/cbr/cbr.c
+++ b/src/tools/cbr/cbr.c
@@ -129,14 +129,14 @@ int main(int argc, char ** argv)
}
if (server) {
- if (ap_init(argv_dup[0]) < 0) {
+ if (ouroboros_init(argv_dup[0]) < 0) {
printf("Failed to init.\n");
exit(EXIT_FAILURE);
}
ret = server_main();
} else {
- if (ap_init(NULL) < 0) {
+ if (ouroboros_init(NULL) < 0) {
printf("Failed to init.\n");
exit(EXIT_FAILURE);
}
@@ -150,7 +150,7 @@ int main(int argc, char ** argv)
ret = client_main(s_apn, duration, size, rate, flood, sleep);
}
- ap_fini();
+ ouroboros_fini();
return ret;
}