commit 4e4d56c: [Minor] API docs: try explain real_ip / from_ip better
Andrew Lewis
nerf at judo.za.org
Tue Oct 12 12:07:05 UTC 2021
Author: Andrew Lewis
Date: 2021-10-11 15:36:52 +0200
URL: https://github.com/rspamd/rspamd/commit/4e4d56c4fe36dfb5481966d321f821a56dd86407
[Minor] API docs: try explain real_ip / from_ip better
---
src/lua/lua_task.c | 4 ++--
1 file 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
More information about the Commits
mailing list