[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r3659 - GNUnet/src/transports
From: |
grothoff |
Subject: |
[GNUnet-SVN] r3659 - GNUnet/src/transports |
Date: |
Mon, 6 Nov 2006 17:16:55 -0800 (PST) |
Author: grothoff
Date: 2006-11-06 17:16:54 -0800 (Mon, 06 Nov 2006)
New Revision: 3659
Modified:
GNUnet/src/transports/ip.c
GNUnet/src/transports/ip6.c
Log:
fix
Modified: GNUnet/src/transports/ip.c
===================================================================
--- GNUnet/src/transports/ip.c 2006-11-07 01:16:40 UTC (rev 3658)
+++ GNUnet/src/transports/ip.c 2006-11-07 01:16:54 UTC (rev 3659)
@@ -306,11 +306,11 @@
int retval;
ipString = NULL;
- if ( (0 != GC_get_configuration_value_string(cfg,
+ if ( (1 != GC_get_configuration_value_string(cfg,
"NETWORK",
"IP",
"",
- &ipString)) &&
+ &ipString)) ||
(strlen(ipString) > 0) ) {
#if LINUX || SOMEBSD || MINGW
if (OK == getAddressFromIOCTL(cfg,
Modified: GNUnet/src/transports/ip6.c
===================================================================
--- GNUnet/src/transports/ip6.c 2006-11-07 01:16:40 UTC (rev 3658)
+++ GNUnet/src/transports/ip6.c 2006-11-07 01:16:54 UTC (rev 3659)
@@ -93,11 +93,12 @@
retval = SYSERR;
ipString = NULL;
- if (0 != GC_get_configuration_value_string(cfg,
- "NETWORK",
- "IP",
- "",
- &ipString)) {
+ if ( (1 != GC_get_configuration_value_string(cfg,
+ "NETWORK",
+ "IP6",
+ "",
+ &ipString)) ||
+ (strlen(ipString) > 0) ) {
retval = getAddress6FromHostname(ectx,
address);
} else {
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r3659 - GNUnet/src/transports,
grothoff <=