summaryrefslogtreecommitdiff
path: root/src/net/ip.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/net/ip.cpp')
-rw-r--r--src/net/ip.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/net/ip.cpp b/src/net/ip.cpp
index 591faab..bfc2028 100644
--- a/src/net/ip.cpp
+++ b/src/net/ip.cpp
@@ -27,6 +27,9 @@
#include "../poison.hpp"
+
+namespace tmwa
+{
bool extract(XString str, IP4Address *rv)
{
if (str.endswith('.'))
@@ -114,3 +117,4 @@ VString<31> convert_for_printf(IP4Mask a)
return STRNPRINTF(32, "%s/%s"_fmt,
a.addr(), a.mask());
}
+} // namespace tmwa