From defd1fa403c6914ac5f19237c000c6a01fd67205 Mon Sep 17 00:00:00 2001 From: michael Date: Thu, 1 Jan 2015 16:25:09 +0000 Subject: [PATCH] - dnsbl.c:dnsbl_report(): add separate DNSBL_REPORT_VERSION definition git-svn-id: svn://svn.ircd-hybrid.org/svnroot/hopm/branches/1.0.x@5257 82007160-df01-0410-b94d-b575c5fd34c7 --- src/dnsbl.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/dnsbl.c b/src/dnsbl.c index 324b0c2..3508ab3 100644 --- a/src/dnsbl.c +++ b/src/dnsbl.c @@ -232,6 +232,8 @@ dnsbl_cycle(void) firedns_cycle(); } +#define DNSBL_REPORT_VERSION "3.1.3" + /* * Send an email to report this open proxy. */ @@ -255,7 +257,7 @@ dnsbl_report(struct scan_struct *ss) "X-BOPM-Version: %s\n\n" "%s: %s:%d\n\n" "%s\n", IRCItem->nick, OpmItem->dnsbl_from, OpmItem->dnsbl_to, - VERSION, scan_gettype(ss->remote->protocol), ss->ip, + DNSBL_REPORT_VERSION, scan_gettype(ss->remote->protocol), ss->ip, ss->remote->port, ss->proof); if (OPT_DEBUG >= 3) -- 2.30.2