git.ucc.asn.au
/
tpg
/
acess2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Modules - Removing uneeded prototypes
[tpg/acess2.git]
/
KernelLand
/
Modules
/
IPStack
/
routing.c
diff --git
a/KernelLand/Modules/IPStack/routing.c
b/KernelLand/Modules/IPStack/routing.c
index
d9efa99
..
e86f333
100644
(file)
--- a/
KernelLand/Modules/IPStack/routing.c
+++ b/
KernelLand/Modules/IPStack/routing.c
@@
-115,12
+115,13
@@
tVFS_Node *IPStack_RouteDir_FindDir(tVFS_Node *Node, const char *Name)
{
LOG("Why does this route not have a node? trying to find an iface for the next hop");
- rt = _Route_FindInterfaceRoute(type, rt->NextHop);
- if(!rt) {
+
void *next
rt = _Route_FindInterfaceRoute(type, rt->NextHop);
+ if(!
next
rt) {
Log_Notice("Cannot find route to next hop '%s'",
IPStack_PrintAddress(type, rt->NextHop));
return NULL;
}
+ rt = nextrt;
}
if( !rt->Interface ) {
Log_Notice("Routes", "No interface for route %p, what the?", rt);
UCC
git Repository :: git.ucc.asn.au