summaryrefslogtreecommitdiff
path: root/debian/patches/secure-by-default.patch
diff options
context:
space:
mode:
authorDave Hibberd <hibby@debian.org>2024-07-05 08:34:18 +0100
committerDave Hibberd <hibby@debian.org>2024-07-05 08:35:03 +0100
commitd122a87dd1598428509fdad64dacf64f1cc1f4dd (patch)
tree65393b427e99731cf89985af7e60294825765319 /debian/patches/secure-by-default.patch
parent5b3543c12abab4fad1efc81ed31b66ef52daf008 (diff)
New patch to run secure-by-default until upstream patch
Diffstat (limited to 'debian/patches/secure-by-default.patch')
-rw-r--r--debian/patches/secure-by-default.patch18
1 files changed, 8 insertions, 10 deletions
diff --git a/debian/patches/secure-by-default.patch b/debian/patches/secure-by-default.patch
index e7a3912..38550cd 100644
--- a/debian/patches/secure-by-default.patch
+++ b/debian/patches/secure-by-default.patch
@@ -1,12 +1,10 @@
-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];
+@@ -428,6 +428,7 @@
+ TNC->Hardware = H_TELNET;
+ TCP->IPV4 = TRUE;
+ strcpy(TCP->CMSServer, "cms.winlink.org");
++ TCP->SecureTelnet = 1;
+ }
+
+ TNC = TNCInfo[Port];