gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] r3657 - GNUnet/src/transports


From: grothoff
Subject: [GNUnet-SVN] r3657 - GNUnet/src/transports
Date: Mon, 6 Nov 2006 17:07:14 -0800 (PST)

Author: grothoff
Date: 2006-11-06 17:07:13 -0800 (Mon, 06 Nov 2006)
New Revision: 3657

Modified:
   GNUnet/src/transports/ip.c
Log:
fix

Modified: GNUnet/src/transports/ip.c
===================================================================
--- GNUnet/src/transports/ip.c  2006-11-07 01:00:02 UTC (rev 3656)
+++ GNUnet/src/transports/ip.c  2006-11-07 01:07:13 UTC (rev 3657)
@@ -306,11 +306,12 @@
   int retval;
 
   ipString = NULL;
-  if (0 != GC_get_configuration_value_string(cfg,
-                                            "NETWORK",
-                                            "IP",
-                                            "eth0",
-                                            &ipString)) {
+  if ( (0 != GC_get_configuration_value_string(cfg,
+                                              "NETWORK",
+                                              "IP",
+                                              "",
+                                              &ipString)) &&
+       (strlen(ipString) > 0) ) {
 #if LINUX || SOMEBSD || MINGW
     if (OK == getAddressFromIOCTL(cfg,
                                  ectx,





reply via email to

[Prev in Thread] Current Thread [Next in Thread]