From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 102799 invoked by alias); 15 Mar 2018 23:08:19 -0000 Mailing-List: contact cygwin-apps-cvs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: cygwin-apps-cvs-owner@sourceware.org Received: (qmail 102740 invoked by uid 9795); 15 Mar 2018 23:08:18 -0000 Date: Thu, 15 Mar 2018 23:08:00 -0000 Message-ID: <20180315230818.102711.qmail@sourceware.org> From: jturney@sourceware.org To: cygwin-apps-cvs@sourceware.org Subject: [setup - the official Cygwin setup program] branch master, updated. release_2.891 X-Git-Refname: refs/heads/master X-Git-Reftype: branch X-Git-Oldrev: 5fa727e1cf705ad7564a9b3ee0b6f33c740970ab X-Git-Newrev: 3d7dbd620def0de9b9f1629f9108ebed769cfc71 X-SW-Source: 2018-q1/txt/msg00055.txt.bz2 https://sourceware.org/git/gitweb.cgi?p=cygwin-apps/setup.git;h=3d7dbd620def0de9b9f1629f9108ebed769cfc71 commit 3d7dbd620def0de9b9f1629f9108ebed769cfc71 Author: Jon Turney 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; }