Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: vpnc: devel

svn commit: vpnc r408 - /branches/vpnc-nortel/tunip.c

 

 

vpnc devel RSS feed   Index | Next | Previous | View Threaded


vpnc at unix-ag

Jun 21, 2009, 1:30 AM

Post #1 of 1 (762 views)
Permalink
svn commit: vpnc r408 - /branches/vpnc-nortel/tunip.c

Author: Antonio Borneo
Date: Sun Jun 21 10:30:01 2009
New Revision: 408

Log:
Merge in Nortel branch the commit r337 by Joerg Mayer.
Original comment: "Disambiguate some error/syslog messages."

Modified:
branches/vpnc-nortel/tunip.c

Modified: branches/vpnc-nortel/tunip.c
==============================================================================
--- branches/vpnc-nortel/tunip.c (original)
+++ branches/vpnc-nortel/tunip.c Sun Jun 21 10:30:01 2009
@@ -436,11 +436,11 @@
dstaddr.sin_port = 0;
sent = sendto(s->esp_fd, s->ipsec.tx.buf, s->ipsec.tx.buflen, 0, (struct sockaddr *)&dstaddr, sizeof(struct sockaddr_in));
if (sent == -1) {
- syslog(LOG_ERR, "sendto: %m");
+ syslog(LOG_ERR, "esp sendto: %m");
return;
}
if (sent != s->ipsec.tx.buflen)
- syslog(LOG_ALERT, "truncated out (%lld out of %d)", (long long)sent, s->ipsec.tx.buflen);
+ syslog(LOG_ALERT, "esp truncated out (%lld out of %d)", (long long)sent, s->ipsec.tx.buflen);
}

/*
@@ -475,11 +475,11 @@

sent = send(s->esp_fd, s->ipsec.tx.buf, s->ipsec.tx.buflen, 0);
if (sent == -1) {
- syslog(LOG_ERR, "sendto: %m");
+ syslog(LOG_ERR, "udp sendto: %m");
return;
}
if (sent != s->ipsec.tx.buflen)
- syslog(LOG_ALERT, "truncated out (%lld out of %d)",
+ syslog(LOG_ALERT, "udp truncated out (%lld out of %d)",
(long long)sent, s->ipsec.tx.buflen);
}

@@ -862,7 +862,7 @@
}
/* send nat keepalive packet */
if (send(s->esp_fd, keepalive, keepalive_size, 0) == -1) {
- syslog(LOG_ERR, "sendto: %m");
+ syslog(LOG_ERR, "keepalive sendto: %m");
}
}
if (s->ike.do_dpd) {

_______________________________________________
vpnc-devel mailing list
vpnc-devel [at] unix-ag
https://lists.unix-ag.uni-kl.de/mailman/listinfo/vpnc-devel
http://www.unix-ag.uni-kl.de/~massar/vpnc/

vpnc devel RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.