Update openssh from 6.8 to 6.9
[termux-packages] / packages / openssh / servconf.c.patch
CommitLineData
84443dd2
FF
1diff -u -r ../openssh-6.9p1/servconf.c ./servconf.c
2--- ../openssh-6.9p1/servconf.c 2015-06-30 22:35:31.000000000 -0400
3+++ ./servconf.c 2015-07-11 21:40:29.639988543 -0400
4@@ -208,7 +208,7 @@
59f0d218
FF
5 }
6 /* No certificates by default */
7 if (options->num_ports == 0)
8- options->ports[options->num_ports++] = SSH_DEFAULT_PORT;
9+ options->ports[options->num_ports++] = 8022 /*SSH_DEFAULT_PORT*/;
84443dd2
FF
10 if (options->address_family == -1)
11 options->address_family = AF_UNSPEC;
59f0d218 12 if (options->listen_addrs == NULL)
84443dd2 13@@ -663,7 +663,7 @@
59f0d218
FF
14 u_int i;
15
16 if (options->num_ports == 0)
17- options->ports[options->num_ports++] = SSH_DEFAULT_PORT;
18+ options->ports[options->num_ports++] = 8022 /*SSH_DEFAULT_PORT*/;
19 if (options->address_family == -1)
20 options->address_family = AF_UNSPEC;
84443dd2 21