Parent Directory
|
Revision Log
|
Patch
| Revision 1.23 by sysadm, Thu Jun 5 05:24:56 2025 UTC | Revision 1.24 by sysadm, Thu Jun 5 08:36:02 2025 UTC | |
|---|---|---|
| # | Line 130 int load_conf(const char *conf_file) | Line 130 int load_conf(const char *conf_file) |
| 130 | } | } |
| 131 | else if (strcasecmp(p, "bbs_port") == 0) | else if (strcasecmp(p, "bbs_port") == 0) |
| 132 | { | { |
| 133 | BBS_port = (in_port_t)atoi(q); | BBS_port[0] = (in_port_t)atoi(q); |
| 134 | } | } |
| 135 | else if (strcasecmp(p, "bbs_ssh") == 0) | else if (strcasecmp(p, "bbs_ssh_port") == 0) |
| 136 | { | { |
| 137 | SSH_v2 = (strcasecmp(q, "v2") == 0 ? 1 : 0); | BBS_port[1] = (in_port_t)atoi(q); |
| 138 | } | } |
| 139 | else if (strcasecmp(p, "bbs_max_client") == 0) | else if (strcasecmp(p, "bbs_max_client") == 0) |
| 140 | { | { |
|
||||||||
| webmaster@leafok.com | ViewVC Help |
| Powered by ViewVC 1.3.0-beta1 |