projects
/
tinc
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix error handling when setting up the UDP socket.
[tinc]
/
src
/
net.h
diff --git
a/src/net.h
b/src/net.h
index
0c3d64c
..
7080869
100644
(file)
--- a/
src/net.h
+++ b/
src/net.h
@@
-1,7
+1,7
@@
/*
net.h -- header for net.c
Copyright (C) 1998-2005 Ivo Timmermans
/*
net.h -- header for net.c
Copyright (C) 1998-2005 Ivo Timmermans
- 2000-201
4
Guus Sliepen <guus@tinc-vpn.org>
+ 2000-201
6
Guus Sliepen <guus@tinc-vpn.org>
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@
-115,6
+115,7
@@
typedef struct listen_socket_t {
io_t udp;
sockaddr_t sa;
bool bindto;
io_t udp;
sockaddr_t sa;
bool bindto;
+ int priority;
} listen_socket_t;
#include "conf.h"
} listen_socket_t;
#include "conf.h"
@@
-216,7
+217,6
@@
extern void regenerate_key(void);
extern void purge(void);
extern void retry(void);
extern int reload_configuration(void);
extern void purge(void);
extern void retry(void);
extern int reload_configuration(void);
-extern void load_all_subnets(void);
extern void load_all_nodes(void);
extern void try_tx(struct node_t *n, bool);
extern void load_all_nodes(void);
extern void try_tx(struct node_t *n, bool);