This is the mail archive of the cygwin-apps-cvs mailing list for the cygwin-apps project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[setup - the official Cygwin setup program] branch master, updated. release_2.891




https://sourceware.org/git/gitweb.cgi?p=cygwin-apps/setup.git;h=3d7dbd620def0de9b9f1629f9108ebed769cfc71

commit 3d7dbd620def0de9b9f1629f9108ebed769cfc71
Author: Jon Turney <jon.turney@dronecode.org.uk>
Date:   Thu Mar 15 22:13:05 2018 +0000

    Migrate configured connection type from the removed 'direct(legacy)' to 'direct'


Diff:
---
 ConnectionSetting.cc |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/ConnectionSetting.cc b/ConnectionSetting.cc
index 2370a20..d33acc9 100644
--- a/ConnectionSetting.cc
+++ b/ConnectionSetting.cc
@@ -64,6 +64,10 @@ ConnectionSetting::typeFromString(const std::string& aType)
   if (!casecompare(aType, "Proxy"))
     return IDC_NET_PROXY;
 
+  /* Migrate the removed direct(legacy) to direct */
+  if (!casecompare(aType, "Legacy"))
+    return IDC_NET_DIRECT;
+
   /* A sanish default */
   return IDC_NET_PRECONFIG;
 }


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]