aboutsummaryrefslogtreecommitdiff
path: root/src/testbed/testbed_api_testbed.c
diff options
context:
space:
mode:
authorSree Harsha Totakura <totakura@in.tum.de>2013-01-23 13:28:10 +0000
committerSree Harsha Totakura <totakura@in.tum.de>2013-01-23 13:28:10 +0000
commita992c7102e8edd39e2c76e4f46476d8baffd90c9 (patch)
tree92839169ab72d6199a6a5e72530fb7ab11c4d45e /src/testbed/testbed_api_testbed.c
parentd197e413f3229345d4cab880ce71c020abc22167 (diff)
downloadgnunet-a992c7102e8edd39e2c76e4f46476d8baffd90c9.tar.gz
gnunet-a992c7102e8edd39e2c76e4f46476d8baffd90c9.zip
- warn upon unused OVERLAY_RANDOM_LINKS option
Diffstat (limited to 'src/testbed/testbed_api_testbed.c')
-rw-r--r--src/testbed/testbed_api_testbed.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/testbed/testbed_api_testbed.c b/src/testbed/testbed_api_testbed.c
index 106631604..73a4bcfdd 100644
--- a/src/testbed/testbed_api_testbed.c
+++ b/src/testbed/testbed_api_testbed.c
@@ -1084,9 +1084,12 @@ GNUNET_TESTBED_run (const char *host_filename,
1084 "testbed", "OVERLAY_TOPOLOGY_FILE"); 1084 "testbed", "OVERLAY_TOPOLOGY_FILE");
1085 goto error_cleanup; 1085 goto error_cleanup;
1086 } 1086 }
1087 break;
1088 default: 1087 default:
1089 /* Do nothing */ 1088 /* Warn if OVERLAY_RANDOM_LINKS is present that it will be ignored */
1089 if (GNUNET_YES == GNUNET_CONFIGURATION_have_value (rc->cfg, "testbed",
1090 "OVERLAY_RANDOM_LINKS"))
1091 LOG (GNUNET_ERROR_TYPE_WARNING,
1092 "Ignoring value of `OVERLAY_RANDOM_LINKS' in given configuration\n");
1090 break; 1093 break;
1091 } 1094 }
1092 if (NULL != host_filename) 1095 if (NULL != host_filename)