chiark / gitweb /
Initial push
[termux-packages] / packages / openssh / servconf.c.patch
1 diff -u -r ../openssh-6.6p1/servconf.c ./servconf.c
2 --- ../openssh-6.6p1/servconf.c 2014-02-04 01:12:57.000000000 +0100
3 +++ ./servconf.c        2014-06-04 13:18:34.672668616 +0200
4 @@ -185,7 +185,7 @@
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*/;
10         if (options->listen_addrs == NULL)
11                 add_listen_addr(options, NULL, 0);
12         if (options->pid_file == NULL)
13 @@ -530,7 +530,7 @@
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;
21         if (port == 0)