From: xchaos Date: Fri, 13 Oct 2017 11:52:20 +0000 (+0000) Subject: debug X-Git-Url: https://git.harvie.cz/?a=commitdiff_plain;h=00e9928c056e760c223f191cd9c6beb1a12dbad7;p=svn%2FPrometheus-QoS%2F.git debug git-svn-id: https://dev.arachne.cz/repos/prometheus/trunk@258 251d49ef-1d17-4917-a970-b30cf55b089b --- diff --git a/prometheus.c b/prometheus.c index a3619db..d7dd2be 100644 --- a/prometheus.c +++ b/prometheus.c @@ -290,7 +290,7 @@ void get_config(char *config_filename) option("hosts",hosts); option("downstream-interfaces-list-filename",downstreamfile); option("upstream-interfaces-list-filename",upstreamfile); - option("macros-filename",upstreamfile); + option("macros-filename",macrosfile); option("ip6-prefix",ip6prefix); option("medium",medium); ioption("hall-of-fame-enable",hall_of_fame); @@ -540,7 +540,7 @@ Credit: CZFree.Net, Martin Devera, Netdave, Aquarius, Gandalf\n\n",version); /*-----------------------------------------------------------------*/ printf("Parsing downstream interfaces list %s ...\n", downstreamfile); /*-----------------------------------------------------------------*/ - parse(upstreamfile) + parse(downstreamfile) { ptr = parse_datafile_line(_); if(ptr)