Merge pull request #4 from Online-Amateur-Radio-Club-M0OUK/secure-by-default

Change default value for SECURETELNET from 0 to 1
This commit is contained in:
Hibby 2024-07-05 08:30:10 +01:00 committed by GitHub
commit 5b3543c12a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
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];