diff options
Diffstat (limited to 'ftnoir_protocol_fg/ftnoir_protocol_fg.h')
-rw-r--r-- | ftnoir_protocol_fg/ftnoir_protocol_fg.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/ftnoir_protocol_fg/ftnoir_protocol_fg.h b/ftnoir_protocol_fg/ftnoir_protocol_fg.h index 36768fd5..88b24a09 100644 --- a/ftnoir_protocol_fg/ftnoir_protocol_fg.h +++ b/ftnoir_protocol_fg/ftnoir_protocol_fg.h @@ -35,12 +35,11 @@ #include "opentrack/options.hpp" using namespace options; -struct settings { - pbundle b; +struct settings : opts { value<int> ip1, ip2, ip3, ip4; value<int> port; settings() : - b(bundle("flightgear-proto")), + opts("flightgear-proto"), ip1(b, "ip1", 192), ip2(b, "ip2", 168), ip3(b, "ip3", 0), |