*
* srvx is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
+ * the Free Software Foundation; either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
target[0] = '*';
target[1] = '@';
strcpy(target + 2, data->client_ip);
- gline_add(self->name, target, zone->duration, reason, now, now, 1, 0);
+ gline_add(self->name, target, zone->duration, reason, now, 1, 0);
}
}
free(txt);
target[0] = '*';
target[1] = '@';
strcpy(target + 2, host);
- gline_add(self->name, target, conf.gline_duration, reason, now, now, 1, 0);
+ gline_add(self->name, target, conf.gline_duration, reason, now, 1, 0);
}
/* Figure out the base part of a DNS blacklist hostname. */