Be sure to reset telnet/socket parameters before using.
This commit is contained in:
parent
62b801cd81
commit
9bf371d40b
@ -77,6 +77,10 @@ int line_connect(modem_config *cfg)
|
||||
char *addy = cfg->dialno;
|
||||
|
||||
|
||||
/* Reset everything we know about the line, it may not be the same
|
||||
as last time. */
|
||||
line_init_config(cfg);
|
||||
|
||||
LOG(LOG_INFO, "Connecting");
|
||||
addy = pb_search(addy);
|
||||
cfg->line_data.fd = ip_connect(addy);
|
||||
|
@ -120,7 +120,6 @@ void mdm_init_config(modem_config *cfg)
|
||||
|
||||
dce_init_config(cfg);
|
||||
sh_init_config(cfg);
|
||||
line_init_config(cfg);
|
||||
}
|
||||
|
||||
int get_new_cts_state(modem_config *cfg, int up)
|
||||
|
Loading…
x
Reference in New Issue
Block a user