… | |
… | |
268 | else |
268 | else |
269 | slog (L_WARN, |
269 | slog (L_WARN, |
270 | _("illegal value for 'connectmode', use one of 'ondemand', 'never' or 'always', at '%s' line %d"), |
270 | _("illegal value for 'connectmode', use one of 'ondemand', 'never' or 'always', at '%s' line %d"), |
271 | var, fname, lineno); |
271 | var, fname, lineno); |
272 | } |
272 | } |
|
|
273 | else if (!strcmp (var, "inherit-tos")) |
|
|
274 | { |
|
|
275 | if (!strcmp (val, "yes")) |
|
|
276 | node->inherit_tos = true; |
|
|
277 | else if (!strcmp (val, "no")) |
|
|
278 | node->inherit_tos = false; |
|
|
279 | else |
|
|
280 | slog (L_WARN, |
|
|
281 | _("illegal value for 'compress', only 'yes' or 'no' allowed, at '%s' line %d"), |
|
|
282 | var, fname, lineno); |
|
|
283 | } |
|
|
284 | |
273 | else if (!strcmp (var, "compress")) |
285 | else if (!strcmp (var, "compress")) |
274 | { |
286 | { |
275 | if (!strcmp (val, "yes")) |
287 | if (!strcmp (val, "yes")) |
276 | node->compress = true; |
288 | node->compress = true; |
277 | else if (!strcmp (val, "no")) |
289 | else if (!strcmp (val, "no")) |