From 8a4cd87173bfc7266401913d9d52e11ffaf9f8ec Mon Sep 17 00:00:00 2001 From: Shane Snyder Date: Tue, 8 Apr 2014 16:19:49 -0500 Subject: [PATCH] Modify method for specifying loggp config file Instead of specifying the loggp config file path relative to the path of the respective executable file, you now must specify it relative to the path of the master config file. --- src/models/networks/model-net/model-net.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/models/networks/model-net/model-net.c b/src/models/networks/model-net/model-net.c index 07010f6..66cb9ae 100644 --- a/src/models/networks/model-net/model-net.c +++ b/src/models/networks/model-net/model-net.c @@ -221,7 +221,7 @@ int model_net_set_params() char net_config_file[256]; loggp_param net_params; - configuration_get_value(&config, "PARAMS", "net_config_file", net_config_file, 256); + configuration_get_value_relpath(&config, "PARAMS", "net_config_file", net_config_file, 256); net_params.net_config_file = net_config_file; net_id = model_net_setup("loggp", packet_size, (const void*)&net_params); /* Sets the network as loggp and packet size 512 */ } -- 2.26.2