Create secure-by-default.patch

This commit is contained in:
Tom Fanning 2024-07-03 10:02:44 +01:00
parent 026ad61c90
commit d37331205e
1 changed files with 12 additions and 0 deletions

12
debian/patches/secure-by-default.patch vendored Normal file
View File

@ -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];