projects
/
tinc
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Drop graph and edge stuff. Use new node stuff instead.
[tinc]
/
src
/
net_packet.c
diff --git
a/src/net_packet.c
b/src/net_packet.c
index
25f1d28
..
bd1e4e2
100644
(file)
--- a/
src/net_packet.c
+++ b/
src/net_packet.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: net_packet.c,v 1.1.2.1
7 2002/06/21 10:11:12
guus Exp $
+ $Id: net_packet.c,v 1.1.2.1
8 2002/09/03 20:43:25
guus Exp $
*/
#include "config.h"
*/
#include "config.h"
@@
-70,7
+70,6
@@
#include "process.h"
#include "protocol.h"
#include "subnet.h"
#include "process.h"
#include "protocol.h"
#include "subnet.h"
-#include "graph.h"
#include "process.h"
#include "route.h"
#include "device.h"
#include "process.h"
#include "route.h"
#include "device.h"
@@
-332,7
+331,7
@@
cp
return;
}
return;
}
- via = (n->
via == myself)?n->nexthop:n->via
;
+ via = (n->
options & OPTION_INDIRECT)?n->nexthop:n
;
if(via != n && debug_lvl >= DEBUG_TRAFFIC)
syslog(LOG_ERR, _("Sending packet to %s via %s (%s)"),
if(via != n && debug_lvl >= DEBUG_TRAFFIC)
syslog(LOG_ERR, _("Sending packet to %s via %s (%s)"),