Skip to contentSkip to conversation

fix backwards #ifndef INET6

PATCH New Jeff Moyer 1 participant 1 message Sep 4, 2009 Kernel automounter

lore
Share & tools
lore

Jeff Moyer

author
#0 lore raw

PATCH 1/1 fix backwards #ifndef INET6

Hi, Ian,

Looks like a wire got crossed here.

Cheers,
Jeff

modules/replicated.c +1 -1
index a66de9f..7ea86d7 100644
@@ -231,7 +231,7 @@ static unsigned int get_proximity(struct sockaddr *host_addr)
 			break;
 
 		case AF_INET6:
-#ifndef INET6
+#ifdef INET6
 			if (host_addr->sa_family == AF_INET)
 				break;