From 543ab73017b83e251924caca9aa37a0f892fe05f Mon Sep 17 00:00:00 2001 From: Dirk Engling Date: Fri, 29 Mar 2024 03:30:13 +0100 Subject: Allow networks to be used instead of ip addresses when blessing is involved --- ot_livesync.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ot_livesync.c') diff --git a/ot_livesync.c b/ot_livesync.c index cded0f7..75a5f9f 100644 --- a/ot_livesync.c +++ b/ot_livesync.c @@ -192,7 +192,7 @@ static void * livesync_worker( void * args ) { /* Expect at least tracker id and packet type */ if( ws.request_size <= (ssize_t)(sizeof( g_tracker_id ) + sizeof( uint32_t )) ) continue; - if( !accesslist_isblessed(in_ip, OT_PERMISSION_MAY_LIVESYNC)) + if( !accesslist_is_blessed(in_ip, OT_PERMISSION_MAY_LIVESYNC)) continue; if( !memcmp( ws.inbuf, &g_tracker_id, sizeof( g_tracker_id ) ) ) { /* TODO: log packet coming from ourselves */ -- cgit v1.2.3