summaryrefslogtreecommitdiff
path: root/ot_accesslist.c
diff options
context:
space:
mode:
Diffstat (limited to 'ot_accesslist.c')
-rw-r--r--ot_accesslist.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ot_accesslist.c b/ot_accesslist.c
index 5bd81f0..181c8f0 100644
--- a/ot_accesslist.c
+++ b/ot_accesslist.c
@@ -518,7 +518,7 @@ int accesslist_bless_net( ot_net *net, ot_permissions permissions ) {
518 if( g_admin_nets_count >= OT_ADMINIP_MAX ) 518 if( g_admin_nets_count >= OT_ADMINIP_MAX )
519 return -1; 519 return -1;
520 520
521 memcpy(g_admin_nets + g_admin_nets_count, &net, sizeof(ot_net)); 521 memcpy(g_admin_nets + g_admin_nets_count, net, sizeof(ot_net));
522 g_admin_nets_permissions[ g_admin_nets_count++ ] = permissions; 522 g_admin_nets_permissions[ g_admin_nets_count++ ] = permissions;
523 523
524#ifdef _DEBUG 524#ifdef _DEBUG