summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/dev.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/dev.c b/src/lib/dev.c
index a5caad3c..894a7bab 100644
--- a/src/lib/dev.c
+++ b/src/lib/dev.c
@@ -524,7 +524,7 @@ static void flow_fini(int fd)
shm_flow_set_close(ai.flows[fd].set);
if (ai.frcti[fd].used)
- frcti_clear(fd);
+ frcti_fini(fd);
flow_clear(fd);
}
@@ -618,7 +618,7 @@ int ouroboros_init(const char * ap_name)
for (i = 0; i < AP_MAX_FLOWS; ++i) {
flow_clear(i);
- frcti_fini(i);
+ frcti_clear(i);
}
ai.ports = malloc(sizeof(*ai.ports) * SYS_MAX_FLOWS);