Changeset 11574 for trunk/FACT++/src/mcp.cc
- Timestamp:
- 07/24/11 20:43:08 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/FACT++/src/mcp.cc
r11516 r11574 515 515 po::options_description config("Program options"); 516 516 config.add_options() 517 ("dns", var<string>("localhost"), "Dim nameserver host name (Overwites DIM_DNS_NODE environment variable)") 517 ("dns", var<string>("localhost"), "Dim nameserver (overwites DIM_DNS_NODE environment variable)") 518 ("host", var<string>(""), "Address with which the Dim nameserver can connect to this host (overwites DIM_HOST_NODE environment variable)") 518 519 ("log,l", var<string>(n), "Write log-file") 519 520 // ("no-dim,d", po_bool(), "Disable dim services") … … 530 531 ; 531 532 */ 532 conf.AddEnv("dns", "DIM_DNS_NODE"); 533 conf.AddEnv("dns", "DIM_DNS_NODE"); 534 conf.AddEnv("host", "DIM_HOST_NODE"); 533 535 534 536 conf.AddOptions(config); … … 613 615 } 614 616 615 Dim::Setup(conf.Get<string>("dns") );617 Dim::Setup(conf.Get<string>("dns"), conf.Get<string>("host")); 616 618 617 619 //try
Note:
See TracChangeset
for help on using the changeset viewer.