git://developer.intra2net.com
/
libipt_ACCOUNT
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
info_iponline, libipt_ACCOUNT: (tomj) fixed ONLINE-IPS list, fixed onlinetime
[libipt_ACCOUNT]
/
iptaccount
/
iptaccount.c
diff --git
a/iptaccount/iptaccount.c
b/iptaccount/iptaccount.c
index
f8cc97f
..
5c413b8
100644
(file)
--- a/
iptaccount/iptaccount.c
+++ b/
iptaccount/iptaccount.c
@@
-36,6
+36,7
@@
char *addr_to_dotted(unsigned int addr)
bytep = (const unsigned char *) &addr;
snprintf(buf, 16, "%u.%u.%u.%u", bytep[0], bytep[1], bytep[2], bytep[3]);
+ buf[16] = 0;
return buf;
}