738 |
|
|
739 |
if(n->family == AF_INET) { |
if(n->family == AF_INET) { |
740 |
|
|
741 |
if(n->SSL.use_ssl) { |
printf(" %-20s = if failed %s:%d%s [protocol %s%s] with " |
742 |
|
"timeout %d seconds %s then %s else if passed %s then %s\n", |
743 |
|
"Port", n->hostname, n->port, n->request?n->request:"", |
744 |
|
n->protocol->name, n->SSL.use_ssl?" via SSL":"", n->timeout, |
745 |
|
ratio1, actionnames[a->failed->id], |
746 |
|
ratio2, actionnames[a->passed->id]); |
747 |
|
|
748 |
printf(" %-20s = if failed %s:%d%s [protocol %s via SSL] with " |
if(n->SSL.certmd5 != NULL) |
749 |
"timeout %d seconds %s then %s else if passed %s then %s\n", |
printf(" %-20s = %s\n", "Server cert md5 sum", n->SSL.certmd5); |
|
"Port", n->hostname, n->port, n->request?n->request:"", |
|
|
n->protocol->name, n->timeout, |
|
|
ratio1, actionnames[a->failed->id], |
|
|
ratio2, actionnames[a->passed->id]); |
|
|
|
|
|
if(n->SSL.certmd5 != NULL) |
|
|
printf(" %-20s = %s\n", "Server cert md5 sum", n->SSL.certmd5); |
|
|
|
|
|
} else { |
|
750 |
|
|
|
printf(" %-20s = if failed %s:%d%s [protocol %s] with timeout %d " |
|
|
"seconds %s then %s else if passed %s then %s\n", |
|
|
"Port", n->hostname, n->port, n->request?n->request:"", |
|
|
n->protocol->name, n->timeout, |
|
|
ratio1, actionnames[a->failed->id], |
|
|
ratio2, actionnames[a->passed->id]); |
|
|
|
|
|
} |
|
|
|
|
751 |
} else if(n->family == AF_UNIX) { |
} else if(n->family == AF_UNIX) { |
752 |
|
|
753 |
printf(" %-20s = if failed %s [protocol %s] with timeout %d seconds " |
printf(" %-20s = if failed %s [protocol %s] with timeout %d seconds " |