mon/tripemon.in: Add missing support for the `cork' option.
[tripe] / 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),