686 |
for(i= s->icmplist; i; i= i->next) { |
for(i= s->icmplist; i; i= i->next) { |
687 |
EventAction_T a= i->action; |
EventAction_T a= i->action; |
688 |
|
|
689 |
printf(" %-20s = if failed %s with timeout %d seconds then %s " |
printf(" %-20s = if failed %s count %d with timeout %d seconds then %s " |
690 |
"else if recovered then %s\n", |
"else if recovered then %s\n", |
691 |
"ICMP", icmpnames[i->type], i->timeout, actionnames[a->failed->id], |
"ICMP", icmpnames[i->type], i->count, i->timeout, |
692 |
actionnames[a->passed->id]); |
actionnames[a->failed->id], actionnames[a->passed->id]); |
693 |
} |
} |
694 |
|
|
695 |
if(s->portlist) { |
if(s->portlist) { |