mon/tripemon.in: Add missing support for the `cork' option.
authorMark Wooding <mdw@distorted.org.uk>
Fri, 29 Sep 2017 09:10:59 +0000 (10:10 +0100)
committerMark Wooding <mdw@distorted.org.uk>
Thu, 14 Jun 2018 09:34:25 +0000 (10:34 +0100)
mon/tripemon.in

index 6b7076b..d4f2427 100644 (file)
@@ -1082,6 +1082,9 @@ class AddPeerDialog (MyDialog):
     tickybox_sensitivity(me.c_keepalive, me.e_keepalive)
     table.pack(me.e_keepalive, width = 3)
 
+    me.c_cork = G.CheckButton('Cork')
+    table.pack(me.c_cork, newlinep = True, width = 4, xopt = G.FILL)
+
     me.c_mobile = G.CheckButton('Mobile')
     table.pack(me.c_mobile, newlinep = True, width = 4, xopt = G.FILL)
 
@@ -1111,6 +1114,7 @@ class AddPeerDialog (MyDialog):
                   keepalive = (me.c_keepalive.get_active() and
                                me.e_keepalive.get_text() or None),
                   tunnel = t and me.tuns[t] or None,
+                  cork = me.c_cork.get_active() or None,
                   mobile = me.c_mobile.get_active() or None,
                   key = (me.c_peerkey.get_active() and
                          me.e_peerkey.get_text() or None),