Fixed wrong chars

Fixed wrong chars
This commit is contained in:
MassimilianoPinto 2014-09-29 12:41:15 +02:00
parent 76320c056b
commit 2268bf89aa

View File

@ -345,15 +345,15 @@ getUsers(SERVICE *service, struct users *users)
tmp = ret_ip+strlen(ret_ip);
while(tmp) {
if (tmp == %) {
if (tmp == '%') {
/* set last byte only to 1
* avoiding setipadress failure
* for Class C address
*/
if (found_range == 1)
*tmp = 1;
*tmp = '1';
else
*tmp = 0;
*tmp = '0';
found_range++;
}