summaryrefslogtreecommitdiffhomepage
path: root/ftnoir_protocol_ftn
diff options
context:
space:
mode:
Diffstat (limited to 'ftnoir_protocol_ftn')
-rw-r--r--ftnoir_protocol_ftn/ftnoir_protocol_ftn.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/ftnoir_protocol_ftn/ftnoir_protocol_ftn.h b/ftnoir_protocol_ftn/ftnoir_protocol_ftn.h
index c9b7ace6..1c204abf 100644
--- a/ftnoir_protocol_ftn/ftnoir_protocol_ftn.h
+++ b/ftnoir_protocol_ftn/ftnoir_protocol_ftn.h
@@ -36,11 +36,10 @@
#include "opentrack/options.hpp"
using namespace options;
-struct settings {
- pbundle b;
+struct settings : opts {
value<int> ip1, ip2, ip3, ip4, port;
settings() :
- b(bundle("udp-proto")),
+ opts("udp-proto"),
ip1(b, "ip1", 192),
ip2(b, "ip2", 168),
ip3(b, "ip3", 0),