projects
/
tinc
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
24a2c7e
)
Show next- and lastbutonehop when dumping connectionlist to syslog.
author
Guus Sliepen
<guus@tinc-vpn.org>
Mon, 24 Sep 2001 14:16:29 +0000
(14:16 +0000)
committer
Guus Sliepen
<guus@tinc-vpn.org>
Mon, 24 Sep 2001 14:16:29 +0000
(14:16 +0000)
src/connection.c
patch
|
blob
|
history
diff --git
a/src/connection.c
b/src/connection.c
index
29034f5
..
946ea5c
100644
(file)
--- a/
src/connection.c
+++ b/
src/connection.c
@@
-17,7
+17,7
@@
along with this program; if not, write to the Free Software
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
along with this program; if not, write to the Free Software
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
- $Id: connection.c,v 1.1.2.1
5 2001/07/21 15:34:18
guus Exp $
+ $Id: connection.c,v 1.1.2.1
6 2001/09/24 14:16:29
guus Exp $
*/
#include "config.h"
*/
#include "config.h"
@@
-248,9
+248,9
@@
cp
for(node = id_tree->head; node; node = node->next)
{
cl = (connection_t *)node->data;
for(node = id_tree->head; node; node = node->next)
{
cl = (connection_t *)node->data;
- syslog(LOG_DEBUG, _(" %s at %s port %hd options %ld sockets %d, %d status %04x"),
+ syslog(LOG_DEBUG, _(" %s at %s port %hd options %ld sockets %d, %d status %04x
nexthop %s lastbutonehop %s
"),
cl->name, cl->hostname, cl->port, cl->options,
cl->name, cl->hostname, cl->port, cl->options,
- cl->socket, cl->meta_socket, cl->status);
+ cl->socket, cl->meta_socket, cl->status
, cl->nexthop->name, cl->lastbutonehop->name
);
}
syslog(LOG_DEBUG, _("End of connection list."));
}
syslog(LOG_DEBUG, _("End of connection list."));