summaryrefslogtreecommitdiff
path: root/debian/patches/secure-by-default.patch
diff options
context:
space:
mode:
authorDave Hibberd <hibby@debian.org>2024-07-05 08:30:10 +0100
committerGitHub <noreply@github.com>2024-07-05 08:30:10 +0100
commit5b3543c12abab4fad1efc81ed31b66ef52daf008 (patch)
treec98d02ce56d22cee72e9c617d5ba3f1021a19373 /debian/patches/secure-by-default.patch
parent026ad61c90cdaf36bf23bfa8297df037033ba040 (diff)
parentd37331205e79e74c511fb308da256fdedffcc83d (diff)
Merge pull request #4 from Online-Amateur-Radio-Club-M0OUK/secure-by-default
Change default value for SECURETELNET from 0 to 1
Diffstat (limited to 'debian/patches/secure-by-default.patch')
-rw-r--r--debian/patches/secure-by-default.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/debian/patches/secure-by-default.patch b/debian/patches/secure-by-default.patch
new file mode 100644
index 0000000..e7a3912
--- /dev/null
+++ b/debian/patches/secure-by-default.patch
@@ -0,0 +1,12 @@
+diff --git a/TelnetV6.c b/TelnetV6.c
+index b139fad..4a68108 100644
+--- a/TelnetV6.c
++++ b/TelnetV6.c
+@@ -428,6 +428,7 @@ int ProcessLine(char * buf, int Port)
+ TNC->Hardware = H_TELNET;
+ TCP->IPV4 = TRUE;
+ strcpy(TCP->CMSServer, "cms.winlink.org");
++ TCP->SecureTelnet = 1;
+ }
+
+ TNC = TNCInfo[Port];