summaryrefslogtreecommitdiff
path: root/src/ip.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/ip.cpp')
-rw-r--r--src/ip.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ip.cpp b/src/ip.cpp
index 8e0c064..f47e9bf 100644
--- a/src/ip.cpp
+++ b/src/ip.cpp
@@ -117,7 +117,7 @@ static int resolve_nic_name (struct sockaddr* addr_, char const *interface_,
bool ipv4only_)
{
// TODO: Unused parameter, IPv6 support not implemented for AIX or HP/UX.
- (void) ipv4only;
+ (void) ipv4only_;
// Create a socket.
int sd = socket (AF_INET, SOCK_DGRAM, 0);