diff options
author | erdgeist <> | 2009-06-16 12:17:53 +0000 |
---|---|---|
committer | erdgeist <> | 2009-06-16 12:17:53 +0000 |
commit | 2a94892890074e1090eb60b2e1b3273df9c7d899 (patch) | |
tree | d9f4735b35b2294195f446c64b1968bc1309aa41 /ot_accesslist.c | |
parent | 6c19143bc1279889ded58df7ee4ab9f452d58bfa (diff) |
Display v4 addresses in v4 mode nicer
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 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" ); |