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 b69035e..6ef7114 100644
--- a/ot_accesslist.c
+++ b/ot_accesslist.c
@@ -119,7 +119,7 @@ int accesslist_blessip( ot_ip6 ip, ot_permissions permissions ) {
119 { 119 {
120 char _debug[512]; 120 char _debug[512];
121 int off = snprintf( _debug, sizeof(_debug), "Blessing ip address " ); 121 int off = snprintf( _debug, sizeof(_debug), "Blessing ip address " );
122 off += fmt_ip6(_debug+off, ip ); 122 off += fmt_ip6c(_debug+off, ip );
123 123
124 if( permissions & OT_PERMISSION_MAY_STAT ) off += snprintf( _debug+off, 512-off, " may_fetch_stats" ); 124 if( permissions & OT_PERMISSION_MAY_STAT ) off += snprintf( _debug+off, 512-off, " may_fetch_stats" );
125 if( permissions & OT_PERMISSION_MAY_LIVESYNC ) off += snprintf( _debug+off, 512-off, " may_sync_live" ); 125 if( permissions & OT_PERMISSION_MAY_LIVESYNC ) off += snprintf( _debug+off, 512-off, " may_sync_live" );