Changeset 3010
- Timestamp:
- 09/08/10 18:12:34 (14 years ago)
- Location:
- trunk
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/oscam-config.c
r3000 r3010 553 553 if (!strcmp(token, "readerrestartseconds")) { 554 554 if (strlen(value) == 0) { 555 cfg->reader_restart_seconds = 0;555 cfg->reader_restart_seconds = 5; 556 556 return; 557 557 } else { … … 1040 1040 else 1041 1041 cfg->cc_update_interval = atoi(value); 1042 return; 1042 1043 } 1043 1044 -
trunk/oscam-reader.c
r2955 r3010 692 692 /* FIXME: this breaks newcamd/camd3 cascading as newcamd/camd35 only connects if server sends ecm/emm to client */ 693 693 if (reader->typ == R_CCCAM && !reader->tcp_connected && client[cs_idx].typ == 'p') { 694 if (!cfg->reader_restart_seconds)695 cs_exit(1);696 694 cs_log("%s not connected! Reconection in %d sec", reader->label, cfg->reader_restart_seconds); 697 695 cs_sleepms(1000 * cfg->reader_restart_seconds); -
trunk/oscam.c
r3009 r3010 551 551 } 552 552 cs_log("PANIC: %s lost !! (pid=%d)", txt, client[i].pid); 553 if (c fg->reader_restart_seconds && (client[i].typ == 'r' || client[i].typ == 'p'))553 if (client[i].typ == 'r' || client[i].typ == 'p') 554 554 { 555 555 int old_pid = client[i].pid;
Note:
See TracChangeset
for help on using the changeset viewer.