diff options
author | Andrew Lewis <nerf@judo.za.org> | 2021-10-11 15:36:52 +0200 |
---|---|---|
committer | Andrew Lewis <nerf@judo.za.org> | 2021-10-11 15:36:52 +0200 |
commit | 4e4d56c4fe36dfb5481966d321f821a56dd86407 (patch) | |
tree | eb29c1477ac70bd4d3b133c544a6da482ea7bf12 /src/lua/lua_task.c | |
parent | 81957419185956532fa050acc1a031bb4a77d991 (diff) | |
download | rspamd-4e4d56c4fe36dfb5481966d321f821a56dd86407.tar.gz rspamd-4e4d56c4fe36dfb5481966d321f821a56dd86407.zip |
[Minor] API docs: try explain real_ip / from_ip better
Diffstat (limited to 'src/lua/lua_task.c')
-rw-r--r-- | src/lua/lua_task.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lua/lua_task.c b/src/lua/lua_task.c index 1eb67a430..42cdd22f0 100644 --- a/src/lua/lua_task.c +++ b/src/lua/lua_task.c @@ -446,9 +446,9 @@ LUA_FUNCTION_DEF (task, modify_header); * the following structure: * * - `from_hostname` - string that represents hostname provided by a peer - * - `from_ip` - string representation of IP address as provided by a peer + * - `from_ip` - string representation of sending IP address * - `real_hostname` - hostname as resolved by MTA - * - `real_ip` - string representation of IP as resolved by PTR request of MTA + * - `real_ip` - rspamd_ip object representing sending IP address * - `by_hostname` - MTA hostname * - `proto` - protocol, e.g. ESMTP or ESMTPS * - `timestamp` - received timestamp |