summaryrefslogtreecommitdiff
path: root/ot_accesslist.c
diff options
context:
space:
mode:
authorerdgeist <>2008-11-28 22:21:10 +0000
committererdgeist <>2008-11-28 22:21:10 +0000
commit334c6e4bbb97a4c0656e1b07c3e6a565f68eae2b (patch)
treef84ad28c39b32d0906e32e8ba5e461ecdaed7799 /ot_accesslist.c
parentff6c0339c13a6b42149ba91da14dbb824307cea7 (diff)
The BIG refactoring [tm]. Too many changes to count them. If it doesn't suite you, revert to last version.
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 59d3659..d306aeb 100644
--- a/ot_accesslist.c
+++ b/ot_accesslist.c
@@ -16,6 +16,7 @@
16/* Opentracker */ 16/* Opentracker */
17#include "trackerlogic.h" 17#include "trackerlogic.h"
18#include "ot_accesslist.h" 18#include "ot_accesslist.h"
19#include "ot_vector.h"
19 20
20/* GLOBAL VARIABLES */ 21/* GLOBAL VARIABLES */
21#ifdef WANT_ACCESSLIST 22#ifdef WANT_ACCESSLIST
@@ -110,7 +111,6 @@ int accesslist_blessip( char *ip, ot_permissions permissions ) {
110 uint8_t *_ip = (uint8_t*)ip; 111 uint8_t *_ip = (uint8_t*)ip;
111 fprintf( stderr, "Blessing ip address %d.%d.%d.%d with:", _ip[0], _ip[1], _ip[2], _ip[3]); 112 fprintf( stderr, "Blessing ip address %d.%d.%d.%d with:", _ip[0], _ip[1], _ip[2], _ip[3]);
112 if( permissions & OT_PERMISSION_MAY_STAT ) fputs( " may_fetch_stats", stderr ); 113 if( permissions & OT_PERMISSION_MAY_STAT ) fputs( " may_fetch_stats", stderr );
113 if( permissions & OT_PERMISSION_MAY_SYNC ) fputs( " may_sync_batch", stderr );
114 if( permissions & OT_PERMISSION_MAY_LIVESYNC ) fputs( " may_sync_live", stderr ); 114 if( permissions & OT_PERMISSION_MAY_LIVESYNC ) fputs( " may_sync_live", stderr );
115 if( permissions & OT_PERMISSION_MAY_FULLSCRAPE ) fputs( " may_fetch_fullscrapes", stderr ); 115 if( permissions & OT_PERMISSION_MAY_FULLSCRAPE ) fputs( " may_fetch_fullscrapes", stderr );
116 if( !permissions ) fputs(" nothing.\n", stderr); else fputs(".\n", stderr ); 116 if( !permissions ) fputs(" nothing.\n", stderr); else fputs(".\n", stderr );