diff options
author | Jeremy Harris <jgh146exb@wizmail.org> | 2023-02-21 20:58:22 +0000 |
---|---|---|
committer | Jeremy Harris <jgh146exb@wizmail.org> | 2023-02-21 20:58:22 +0000 |
commit | 3b06efc10bd99da03c446e85839c2933b3e309b0 (patch) | |
tree | a0fb745a1512a481ab3e6434e63d1cbaf50bbfaa /src | |
parent | e95b96eb1dc35bae278f237f9d65734305dba6b2 (diff) |
Include address declared malformed, in error message
Diffstat (limited to 'src')
-rw-r--r-- | src/src/verify.c | 2 |
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; } |