From 854e71c06fa8a92386ca701922f612c0d7d54c26 Mon Sep 17 00:00:00 2001 From: Thulinma Date: Tue, 27 Oct 2020 17:12:51 +0100 Subject: [PATCH] STUN lib tweak --- lib/stun.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/stun.cpp b/lib/stun.cpp index 10af5ef6..bbec1ca4 100644 --- a/lib/stun.cpp +++ b/lib/stun.cpp @@ -1020,7 +1020,7 @@ int StunWriter::convertIp4StringToInt(const std::string &ip, uint32_t &result){ in_addr addr; if (1 != inet_pton(AF_INET, ip.c_str(), &addr)){ - FAIL_MSG("inet_pton() failed, cannot convert ip4 string into uint32_t."); + FAIL_MSG("inet_pton() failed, cannot convert IPv4 string '%s' into uint32_t.", ip.c_str()); return -2; }