Changeset 13900


Ignore:
Timestamp:
05/26/12 10:52:45 (13 years ago)
Author:
tbretz
Message:
Do not connect by default.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/FACT++/src/fadctrl.cc

    r13190 r13900  
    20062006                AddEndpoint(tcp::endpoint(endpoint.address(), endpoint.port()+8*i));
    20072007
    2008             StartConnection();
     2008            if (conf.Get<bool>("start"))
     2009                StartConnection();
    20092010            return -1;
    20102011        }
     
    20412042                }
    20422043
    2043             StartConnection();
     2044            if (conf.Get<bool>("start"))
     2045                StartConnection();
    20442046            return -1;
    20452047
     
    20602062            }
    20612063
    2062             StartConnection();
     2064            if (conf.Get<bool>("start"))
     2065                StartConnection();
    20632066            return -1;
    20642067        }
     
    20902093    po::options_description connect("FAD connection options");
    20912094    connect.add_options()
    2092         ("addr",        vars<string>(),     "Network address of FAD")
    2093         ("base-addr",   var<string>(),      "Base address of all FAD")
     2095        ("addr",        vars<string>(), "Network address of FAD")
     2096        ("base-addr",   var<string>(),  "Base address of all FAD")
    20942097        ("debug-num,n", var<unsigned int>(40),  "Sets the number of fake boards to be connected locally")
    2095         ("debug-addr",  var<string>(),    "")
     2098        ("debug-addr",  var<string>(),  "")
     2099        ("start",       po_bool(false), "Start the connction immediately after boot")
    20962100        ;
    20972101
Note: See TracChangeset for help on using the changeset viewer.