summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDirk Engling <erdgeist@erdgeist.org>2024-03-29 03:44:31 +0100
committerDirk Engling <erdgeist@erdgeist.org>2024-03-29 03:44:31 +0100
commit5805fe5f864d1c56da7e214cc6d954af1b6198d4 (patch)
tree21b23fcfa5487a1636087b15073f58a5f5538dbb
parent543ab73017b83e251924caca9aa37a0f892fe05f (diff)
Dont take address of address
-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