summaryrefslogtreecommitdiff
path: root/src/tools/obc/obc.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/tools/obc/obc.c')
-rw-r--r--src/tools/obc/obc.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/tools/obc/obc.c b/src/tools/obc/obc.c
index 747d01d3..e3fba557 100644
--- a/src/tools/obc/obc.c
+++ b/src/tools/obc/obc.c
@@ -63,9 +63,9 @@ static int reader_main(const char * dst)
printf("Starting a reader.\n");
- fd = flow_alloc(dst, NULL, NULL);
+ fd = flow_join(dst, NULL, NULL);
if (fd < 0) {
- printf("Failed to allocate multicast flow.\n");
+ printf("Failed to join broadcast.\n");
return -1;
}
@@ -90,9 +90,9 @@ static int writer_main(const char * dst,
{
int fd = 0;
- fd = flow_alloc(dst, NULL, NULL);
+ fd = flow_join(dst, NULL, NULL);
if (fd < 0) {
- printf("Failed to allocate multicast flow.\n");
+ printf("Failed to join broadcast.\n");
return -1;
}