aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJP Dillingham <jpdillingham@gmail.com>2021-05-16 23:25:13 -0500
committerJP Dillingham <jpdillingham@gmail.com>2021-05-16 23:25:13 -0500
commitfe6cb87f7a24cd09149c1bf5a90954c52dace426 (patch)
tree2e4a5ff2b0a2a1c391e2689c6263b1b4870f1078
parent0e75d9e7fdc2f35c0862994cb298f1560281cec0 (diff)
downloadslskd-fe6cb87f7a24cd09149c1bf5a90954c52dace426.tar.gz
make proxy port nullable
-rw-r--r--src/slskd/Options.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/slskd/Options.cs b/src/slskd/Options.cs
index 59cc8a11..efd689d5 100644
--- a/src/slskd/Options.cs
+++ b/src/slskd/Options.cs
@@ -339,7 +339,7 @@ namespace slskd
[EnvironmentVariable("SLSK_PROXY_PORT")]
[Description("connection proxy port")]
[Range(1, 65535)]
- public int Port { get; private set; }
+ public int? Port { get; private set; }
/// <summary>
/// Gets the proxy username, if applicable.