diff options
author | Kenneth Skovhede <kenneth@hexad.dk> | 2018-02-26 13:37:10 +0300 |
---|---|---|
committer | Kenneth Skovhede <kenneth@hexad.dk> | 2018-02-26 13:37:10 +0300 |
commit | bd863016faca89fe78844467aefdd319db044b69 (patch) | |
tree | e7a879fd088bb147686b4982c072be4ea48f406d /Duplicati/Library/Backend/FTP/FTPBackend.cs | |
parent | 325d45d7848796b2f7da1618c12f883459b46cd1 (diff) |
Added support for returning multiple DNS names for cache invalidation.
Updated most backends to return the actual DNS names for cache invalidation.
Diffstat (limited to 'Duplicati/Library/Backend/FTP/FTPBackend.cs')
-rw-r--r-- | Duplicati/Library/Backend/FTP/FTPBackend.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Duplicati/Library/Backend/FTP/FTPBackend.cs b/Duplicati/Library/Backend/FTP/FTPBackend.cs index 6f3e8b9dc..0083afd51 100644 --- a/Duplicati/Library/Backend/FTP/FTPBackend.cs +++ b/Duplicati/Library/Backend/FTP/FTPBackend.cs @@ -355,9 +355,9 @@ namespace Duplicati.Library.Backend }
}
- public string DNSName
+ public string[] DNSName
{
- get { return null; }
+ get { return new string[] { new Uri(m_url).Host }; }
}
public void Test()
|