chiark / gitweb /
mon/tripemon.in: Add a `default' tunnel entry to the `Add peer' box.
authorMark Wooding <mdw@distorted.org.uk>
Sat, 16 Sep 2017 18:39:11 +0000 (19:39 +0100)
committerMark Wooding <mdw@distorted.org.uk>
Thu, 14 Jun 2018 09:34:25 +0000 (10:34 +0100)
The code at the other end was already written to assume that this had
been done, but it hadn't.

mon/tripemon.in

index d4f24276afa4b5a6ba53c6d92ac56548d9a24f5e..f5b8f8d60ff018a358a69fb66fe9a6dc0c43229f 100644 (file)
@@ -1066,7 +1066,7 @@ class AddPeerDialog (MyDialog):
                                                5))
     me.l_tunnel = table.labelled('Tunnel', combo_box_text(),
                                  newlinep = True, width = 3)
-    me.tuns = conn.tunnels()
+    me.tuns = ['(Default)'] + conn.tunnels()
     for t in me.tuns:
       me.l_tunnel.append_text(t)
     me.l_tunnel.set_active(0)