The ability of chat ( the program is found within the openwrt ppp package) to read environmental variables was introduced in 1999 ! The TIMEOUT directive, however, requires a hard coded value and ignores environmental variables (which are normally specified with a $..) . This is a simple one line addition to chat.c
Ashok Rao <[email protected]> --- a/chat/chat.c 2010-08-23 18:20:11.000000000 +0000 +++ b/chat/chat.c 2010-08-23 18:18:29.000000000 +0000 @@ -1167,6 +1167,7 @@ if (timeout_next) { timeout_next = 0; + s= clean(s,0); timeout = atoi(s); if (timeout <= 0) _______________________________________________ openwrt-devel mailing list [email protected] https://lists.openwrt.org/mailman/listinfo/openwrt-devel
