summaryrefslogtreecommitdiff
path: root/ot_livesync.c
diff options
context:
space:
mode:
Diffstat (limited to 'ot_livesync.c')
-rw-r--r--ot_livesync.c2
1 files changed, 1 insertions, 1 deletions
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 ) {
192 /* Expect at least tracker id and packet type */ 192 /* Expect at least tracker id and packet type */
193 if( ws.request_size <= (ssize_t)(sizeof( g_tracker_id ) + sizeof( uint32_t )) ) 193 if( ws.request_size <= (ssize_t)(sizeof( g_tracker_id ) + sizeof( uint32_t )) )
194 continue; 194 continue;
195 if( !accesslist_isblessed(in_ip, OT_PERMISSION_MAY_LIVESYNC)) 195 if( !accesslist_is_blessed(in_ip, OT_PERMISSION_MAY_LIVESYNC))
196 continue; 196 continue;
197 if( !memcmp( ws.inbuf, &g_tracker_id, sizeof( g_tracker_id ) ) ) { 197 if( !memcmp( ws.inbuf, &g_tracker_id, sizeof( g_tracker_id ) ) ) {
198 /* TODO: log packet coming from ourselves */ 198 /* TODO: log packet coming from ourselves */