better output

git-svn-id: file:///Users/braun/svn/vermont/branches/vermont/dtls-merge@2541 aef3b71b-58ee-0310-9ba9-8811b9f0742f
master
muenz 2010-09-15 11:31:43 +00:00
parent 231d9ed70b
commit 13b3d2c382
4 changed files with 4 additions and 4 deletions

View File

@ -1,7 +1,6 @@
<ipfixConfig>
<ipfixCollector id="1">
<listener>
<ipAddressType>4</ipAddressType>
<transportProtocol>SCTP</transportProtocol>
<port>4433</port>
</listener>

View File

@ -309,6 +309,7 @@ static int dtls_connect(ipfix_receiving_collector *col, ipfix_dtls_connection *c
error = SSL_get_error(con->ssl,ret);
if (error == SSL_ERROR_NONE) {
msg_openssl_return_code(MSG_DEBUG,"SSL_connect()",ret,error);
msg(MSG_INFO, "Successfully (re)connected to SCTP-over-DTLS collector.");
msg(MSG_INFO,"TLS Cipher: %s",SSL_get_cipher_name(con->ssl));
DPRINTF("DTLS handshake succeeded. We are now connected.");
if (col->peer_fqdn) { /* We need to verify the identity of our peer */
@ -2138,7 +2139,7 @@ static int sctp_reconnect(ipfix_exporter *exporter , int i){
return -1;
}
msg(MSG_INFO, "successfully (re)connected.");
msg(MSG_INFO, "Successfully (re)connected to SCTP collector.");
//reconnected -> resend all active templates
ipfix_prepend_header(exporter,

View File

@ -88,7 +88,7 @@ public:
::tolower);
peerFqdns.insert(strdnsname);
} else {
msg(MSG_FATAL, "Unknown collector config statement %s\n", e->getName().c_str());
msg(MSG_FATAL, "Unknown collector config statement %s", e->getName().c_str());
continue;
}
}

View File

@ -63,7 +63,7 @@ IpfixCollectorCfg::IpfixCollectorCfg(XMLElement* elem)
e->matches("CAfile") || e->matches("CApath")) {
// already done!
} else {
msg(MSG_FATAL, "Unkown observer config statement %s\n", e->getName().c_str());
msg(MSG_FATAL, "Unkown collector config statement %s", e->getName().c_str());
continue;
}
}