2
0
Fork 0

fix wrong placement of #endif in condition.c => broken code when HAVE_IPV6 not defined

This commit is contained in:
Thomas Porzelt 2008-11-20 00:13:51 +01:00
parent 2040c059d1
commit 0994052566
1 changed files with 1 additions and 1 deletions

View File

@ -39,8 +39,8 @@ static gboolean condition_ip_from_socket(condition_rvalue *val, sock_addr *addr)
memcpy(val->ipv6.addr, addr->ipv6.sin6_addr.s6_addr, 16);
val->ipv6.network = 128;
return TRUE;
}
#endif
}
return FALSE;
}