#endif
}
| TCP_CHILDREN EQUAL error { yyerror("number expected"); }
- | TCP_CONNECT_TIMEOUT EQUAL NUMBER {
+ | TCP_CONNECT_TIMEOUT EQUAL intno {
#ifdef USE_TCP
- tcp_connect_timeout=$3;
+ tcp_default_cfg.connect_timeout_s=$3;
#else
warn("tcp support not compiled in");
#endif
}
| TCP_CONNECT_TIMEOUT EQUAL error { yyerror("number expected"); }
- | TCP_SEND_TIMEOUT EQUAL NUMBER {
+ | TCP_SEND_TIMEOUT EQUAL intno {
#ifdef USE_TCP
- tcp_send_timeout=$3;
+ tcp_default_cfg.send_timeout_s=$3;
#else
warn("tcp support not compiled in");
#endif
}
| TCP_SEND_TIMEOUT EQUAL error { yyerror("number expected"); }
- | TCP_CON_LIFETIME EQUAL NUMBER {
+ | TCP_CON_LIFETIME EQUAL intno {
#ifdef USE_TCP
- tcp_con_lifetime=$3;
+ tcp_default_cfg.con_lifetime_s=$3;
#else
warn("tcp support not compiled in");
#endif