aboutsummaryrefslogtreecommitdiffstats
path: root/src/libserver/url.h
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2015-07-02 09:38:02 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2015-07-02 11:36:28 +0100
commit689ed83366449fee3d783848cdb4fed6fbfabdc0 (patch)
treeac16173f6ed3ef981c587cf9dfaa69f60bdcf9ad /src/libserver/url.h
parenta38dd53c6b4fee8afba3c3d47a2182b1a4d3e2b4 (diff)
downloadrspamd-689ed83366449fee3d783848cdb4fed6fbfabdc0.tar.gz
rspamd-689ed83366449fee3d783848cdb4fed6fbfabdc0.zip
Improve support of IP based URLs.
Diffstat (limited to 'src/libserver/url.h')
-rw-r--r--src/libserver/url.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libserver/url.h b/src/libserver/url.h
index 1faead3f2..8666b8c9f 100644
--- a/src/libserver/url.h
+++ b/src/libserver/url.h
@@ -36,6 +36,7 @@ struct rspamd_url {
guint urllen;
gboolean is_phished; /* URI maybe phishing */
+ gboolean is_numeric; /* URI contains IP address */
};
enum uri_errno {