Browse Source

Dont take address of address

master
Dirk Engling 8 months ago
parent
commit
5805fe5f86
  1. 2
      ot_accesslist.c

2
ot_accesslist.c

@ -518,7 +518,7 @@ int accesslist_bless_net( ot_net *net, ot_permissions permissions ) { @@ -518,7 +518,7 @@ int accesslist_bless_net( ot_net *net, ot_permissions permissions ) {
if( g_admin_nets_count >= OT_ADMINIP_MAX )
return -1;
memcpy(g_admin_nets + g_admin_nets_count, &net, sizeof(ot_net));
memcpy(g_admin_nets + g_admin_nets_count, net, sizeof(ot_net));
g_admin_nets_permissions[ g_admin_nets_count++ ] = permissions;
#ifdef _DEBUG

Loading…
Cancel
Save