diff options
Diffstat (limited to 'ot_accesslist.c')
-rw-r--r-- | ot_accesslist.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ot_accesslist.c b/ot_accesslist.c index d306aeb..f4c21c5 100644 --- a/ot_accesslist.c +++ b/ot_accesslist.c | |||
@@ -105,7 +105,7 @@ static unsigned int g_adminip_count = 0; | |||
105 | int accesslist_blessip( char *ip, ot_permissions permissions ) { | 105 | int accesslist_blessip( char *ip, ot_permissions permissions ) { |
106 | if( g_adminip_count >= OT_ADMINIP_MAX ) | 106 | if( g_adminip_count >= OT_ADMINIP_MAX ) |
107 | return -1; | 107 | return -1; |
108 | memmove( g_adminip_addresses + g_adminip_count, ip, 4 ); | 108 | WRITE32(g_adminip_addresses + g_adminip_count,0,READ32(ip,0)); |
109 | g_adminip_permissions[ g_adminip_count++ ] = permissions; | 109 | g_adminip_permissions[ g_adminip_count++ ] = permissions; |
110 | #ifdef _DEBUG | 110 | #ifdef _DEBUG |
111 | uint8_t *_ip = (uint8_t*)ip; | 111 | uint8_t *_ip = (uint8_t*)ip; |