projects
/
tinc
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Small updates.
[tinc]
/
src
/
net_packet.c
diff --git
a/src/net_packet.c
b/src/net_packet.c
index
bd1e4e2
..
8419d6a
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
8 2002/09/03 20:43:25
guus Exp $
+ $Id: net_packet.c,v 1.1.2.1
9 2002/09/04 13:48:52
guus Exp $
*/
#include "config.h"
*/
#include "config.h"
@@
-70,6
+70,7
@@
#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"
@@
-331,7
+332,7
@@
cp
return;
}
return;
}
- via = (n->
options & OPTION_INDIRECT)?n->nexthop:n
;
+ via = (n->
via == myself)?n->nexthop:n->via
;
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)"),