summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJeremy Harris <jgh146exb@wizmail.org>2023-02-21 20:58:22 +0000
committerJeremy Harris <jgh146exb@wizmail.org>2023-02-21 20:58:22 +0000
commit3b06efc10bd99da03c446e85839c2933b3e309b0 (patch)
treea0fb745a1512a481ab3e6434e63d1cbaf50bbfaa /src
parente95b96eb1dc35bae278f237f9d65734305dba6b2 (diff)
Include address declared malformed, in error message
Diffstat (limited to 'src')
-rw-r--r--src/src/verify.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/src/verify.c b/src/src/verify.c
index 125df8d91..5c0a3e408 100644
--- a/src/src/verify.c
+++ b/src/src/verify.c
@@ -2958,7 +2958,7 @@ dots). */
for (t = ss; isdigit(*t) || *t == '.'; ) t++;
if (!*t || (*t == '/' && t != ss))
{
- *error = US"malformed IPv4 address or address mask";
+ *error = string_sprintf("malformed IPv4 address or address mask: %.*s", (int)(t - ss), ss);
return ERROR;
}