projects
/
tinc
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add route.c to the list of source files.
[tinc]
/
src
/
connlist.c
diff --git
a/src/connlist.c
b/src/connlist.c
index
2965ced
..
63f9e6c
100644
(file)
--- a/
src/connlist.c
+++ b/
src/connlist.c
@@
-17,12
+17,16
@@
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: connlist.c,v 1.1.2.1
0 2000/10/29 00:02:1
7 guus Exp $
+ $Id: connlist.c,v 1.1.2.1
4 2000/11/04 15:34:0
7 guus Exp $
*/
*/
+#include "config.h"
+
+#include <stdio.h>
#include <syslog.h>
#include "net.h" /* Don't ask. */
#include <syslog.h>
#include "net.h" /* Don't ask. */
+#include "netutl.h"
#include "config.h"
#include "conf.h"
#include <utils.h>
#include "config.h"
#include "conf.h"
#include <utils.h>
@@
-64,6
+68,8
@@
cp
free(p->cipher_pktkey);
if(p->buffer)
free(p->buffer);
free(p->cipher_pktkey);
if(p->buffer)
free(p->buffer);
+ if(p->config)
+ clear_config(&p->config);
free(p);
cp
}
free(p);
cp
}
@@
-161,7
+167,7
@@
void dump_conn_list(void)
cp
syslog(LOG_DEBUG, _("Connection list:"));
cp
syslog(LOG_DEBUG, _("Connection list:"));
- syslog(LOG_DEBUG, _("%s at %s port %hd flags %d sockets %d, %d status %04x"),
+ syslog(LOG_DEBUG, _("
%s at %s port %hd flags %d sockets %d, %d status %04x"),
myself->name, myself->hostname, myself->port, myself->flags,
myself->socket, myself->meta_socket, myself->status);
myself->name, myself->hostname, myself->port, myself->flags,
myself->socket, myself->meta_socket, myself->status);