summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/tcp_address.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tcp_address.cpp b/src/tcp_address.cpp
index ae69708..9132c37 100644
--- a/src/tcp_address.cpp
+++ b/src/tcp_address.cpp
@@ -162,7 +162,7 @@ int xs::tcp_address_t::resolve_nic_name (const char *nic_, bool ipv4only_)
// Get the addresses.
ifaddrs* ifa = NULL;
int rc = getifaddrs (&ifa);
- xs_assert (rc == 0);
+ errno_assert (rc == 0);
xs_assert (ifa != NULL);
// Find the corresponding network interface.