From 4e5fb1aaa61c4ab24ce421d1be9a589b8136ff73 Mon Sep 17 00:00:00 2001 From: Kenneth Skovhede Date: Thu, 14 Sep 2017 12:32:41 +0200 Subject: [PATCH] Also allow "all" as the interface. This fixes #2706 --- Duplicati/Server/WebServer/Server.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Duplicati/Server/WebServer/Server.cs b/Duplicati/Server/WebServer/Server.cs index 49cd201fd..6702d2536 100644 --- a/Duplicati/Server/WebServer/Server.cs +++ b/Duplicati/Server/WebServer/Server.cs @@ -107,7 +107,7 @@ namespace Duplicati.Server.WebServer if (string.IsNullOrWhiteSpace(interfacestring)) interfacestring = DEFAULT_OPTION_INTERFACE; - if (interfacestring.Trim() == "*" || interfacestring.Trim().Equals("any", StringComparison.InvariantCultureIgnoreCase)) + if (interfacestring.Trim() == "*" || interfacestring.Trim().Equals("any", StringComparison.InvariantCultureIgnoreCase) || interfacestring.Trim().Equals("all", StringComparison.InvariantCultureIgnoreCase)) listenInterface = System.Net.IPAddress.Any; else if (interfacestring.Trim() == "loopback") listenInterface = System.Net.IPAddress.Loopback;