… | |
… | |
464 | } |
464 | } |
465 | else if (!strcmp (var, "inherit-tos")) |
465 | else if (!strcmp (var, "inherit-tos")) |
466 | parse_bool (node->inherit_tos, "inherit-tos", true, false); |
466 | parse_bool (node->inherit_tos, "inherit-tos", true, false); |
467 | else if (!strcmp (var, "compress")) |
467 | else if (!strcmp (var, "compress")) |
468 | parse_bool (node->compress, "compress", true, false); |
468 | parse_bool (node->compress, "compress", true, false); |
|
|
469 | else if (!strcmp (var, "low-power")) |
|
|
470 | parse_bool (node->low_power, "low-power", true, false); |
469 | // all these bool options really really cost a lot of executable size! |
471 | // all these bool options really really cost a lot of executable size! |
470 | else if (!strcmp (var, "enable-tcp")) |
472 | else if (!strcmp (var, "enable-tcp")) |
471 | { |
473 | { |
472 | #if ENABLE_TCP |
474 | #if ENABLE_TCP |
473 | u8 v; parse_bool (v, "enable-tcp" , PROT_TCPv4, 0); node->protocols = (node->protocols & ~PROT_TCPv4) | v; |
475 | u8 v; parse_bool (v, "enable-tcp" , PROT_TCPv4, 0); node->protocols = (node->protocols & ~PROT_TCPv4) | v; |