From: Mark Wooding Date: Sat, 16 Sep 2017 18:39:11 +0000 (+0100) Subject: mon/tripemon.in: Add a `default' tunnel entry to the `Add peer' box. X-Git-Tag: 1.5.0~135 X-Git-Url: https://git.distorted.org.uk/~mdw/tripe/commitdiff_plain/0adda4f8b3ea34104c3b43ea15e26177aaf53dae mon/tripemon.in: Add a `default' tunnel entry to the `Add peer' box. The code at the other end was already written to assume that this had been done, but it hadn't. --- diff --git a/mon/tripemon.in b/mon/tripemon.in index d4f24276..f5b8f8d6 100644 --- a/mon/tripemon.in +++ b/mon/tripemon.in @@ -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)