0
0
mirror of https://github.com/termux/termux-packages.git synced 2025-05-10 16:15:44 +00:00
Files
termux-packages/packages/openssh/servconf.c.patch
Kevin Williams 44bbe0980d bumnp(main/openssh): 9.8p1
Signed-off-by: Kevin Williams <admin@utermux.dev>
2024-07-01 19:12:00 +08:00

22 lines
873 B
Diff

diff -uNr openssh-portable-V_9_8_P1/servconf.c openssh-portable-V_9_8_P1.mod/servconf.c
--- openssh-portable-V_9_8_P1/servconf.c 2024-07-01 12:36:28.000000000 +0800
+++ openssh-portable-V_9_8_P1.mod/servconf.c 2024-07-01 17:43:33.815637935 +0800
@@ -317,7 +317,7 @@
}
/* No certificates by default */
if (options->num_ports == 0)
- options->ports[options->num_ports++] = SSH_DEFAULT_PORT;
+ options->ports[options->num_ports++] = 8022 /*SSH_DEFAULT_PORT*/;
if (options->address_family == -1)
options->address_family = AF_UNSPEC;
if (options->listen_addrs == NULL)
@@ -933,7 +933,7 @@
struct queued_listenaddr *qla;
if (options->num_ports == 0)
- options->ports[options->num_ports++] = SSH_DEFAULT_PORT;
+ options->ports[options->num_ports++] = 8022 /*SSH_DEFAULT_PORT*/;
if (options->address_family == -1)
options->address_family = AF_UNSPEC;