Mercurial > dropbear
comparison svr-runopts.c @ 1214:61d3f56808a4
Merge pull request #18 from annulen/dbclient_syslog
Support syslog logging in dbclient.
author | Matt Johnston <matt@ucc.asn.au> |
---|---|
date | Tue, 15 Dec 2015 21:55:51 +0800 |
parents | 64a50eac1030 |
children | a23386821e9f b28624698130 |
comparison
equal
deleted
inserted
replaced
1209:ab7d9c12caa7 | 1214:61d3f56808a4 |
---|---|
156 */ | 156 */ |
157 #ifdef DO_MOTD | 157 #ifdef DO_MOTD |
158 svr_opts.domotd = 1; | 158 svr_opts.domotd = 1; |
159 #endif | 159 #endif |
160 #ifndef DISABLE_SYSLOG | 160 #ifndef DISABLE_SYSLOG |
161 svr_opts.usingsyslog = 1; | 161 opts.usingsyslog = 1; |
162 #endif | 162 #endif |
163 opts.recv_window = DEFAULT_RECV_WINDOW; | 163 opts.recv_window = DEFAULT_RECV_WINDOW; |
164 opts.keepalive_secs = DEFAULT_KEEPALIVE; | 164 opts.keepalive_secs = DEFAULT_KEEPALIVE; |
165 opts.idle_timeout_secs = DEFAULT_IDLE_TIMEOUT; | 165 opts.idle_timeout_secs = DEFAULT_IDLE_TIMEOUT; |
166 | 166 |
187 case 'F': | 187 case 'F': |
188 svr_opts.forkbg = 0; | 188 svr_opts.forkbg = 0; |
189 break; | 189 break; |
190 #ifndef DISABLE_SYSLOG | 190 #ifndef DISABLE_SYSLOG |
191 case 'E': | 191 case 'E': |
192 svr_opts.usingsyslog = 0; | 192 opts.usingsyslog = 0; |
193 break; | 193 break; |
194 #endif | 194 #endif |
195 #ifdef ENABLE_SVR_LOCALTCPFWD | 195 #ifdef ENABLE_SVR_LOCALTCPFWD |
196 case 'j': | 196 case 'j': |
197 svr_opts.nolocaltcp = 1; | 197 svr_opts.nolocaltcp = 1; |