summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Sustrik <sustrik@250bpm.com>2011-08-14 14:06:42 +0200
committerMartin Sustrik <sustrik@250bpm.com>2011-08-14 14:06:42 +0200
commit938009853461267af43908614266b9ef33f825ff (patch)
treead5304929bca4a0c873db1159e824630884864df
parent6dc3b2a657d4d1c98f549395643d68b834a776a4 (diff)
Compilation error on HP-UX and AIX fixed
Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
-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);