aboutsummaryrefslogtreecommitdiff
path: root/src/testbed
diff options
context:
space:
mode:
authorharsha <harsha@140774ce-b5e7-0310-ab8b-a85725594a96>2013-01-23 13:28:10 +0000
committerharsha <harsha@140774ce-b5e7-0310-ab8b-a85725594a96>2013-01-23 13:28:10 +0000
commit159a0bfbe768524a6d923669a6db735480237128 (patch)
tree92839169ab72d6199a6a5e72530fb7ab11c4d45e /src/testbed
parentbf0fc457442cc5e23b62eb4de79776f6fd999d51 (diff)
- warn upon unused OVERLAY_RANDOM_LINKS option
git-svn-id: https://gnunet.org/svn/gnunet@25863 140774ce-b5e7-0310-ab8b-a85725594a96
Diffstat (limited to 'src/testbed')
-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 1066316045..73a4bcfddc 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,
"testbed", "OVERLAY_TOPOLOGY_FILE");
goto error_cleanup;
}
- break;
default:
- /* Do nothing */
+ /* Warn if OVERLAY_RANDOM_LINKS is present that it will be ignored */
+ if (GNUNET_YES == GNUNET_CONFIGURATION_have_value (rc->cfg, "testbed",
+ "OVERLAY_RANDOM_LINKS"))
+ LOG (GNUNET_ERROR_TYPE_WARNING,
+ "Ignoring value of `OVERLAY_RANDOM_LINKS' in given configuration\n");
break;
}
if (NULL != host_filename)