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/USB - Working on USB support again
[tpg/acess2.git]
/
Modules
/
IPStack
/
routing.c
diff --git
a/Modules/IPStack/routing.c
b/Modules/IPStack/routing.c
index
c37e744
..
9e298a0
100644
(file)
--- a/
Modules/IPStack/routing.c
+++ b/
Modules/IPStack/routing.c
@@
-5,7
+5,7
@@
#define DEBUG 0
#define VERSION VER2(0,10)
#include <acess.h>
#define DEBUG 0
#define VERSION VER2(0,10)
#include <acess.h>
-#include <
tpl
_drv_common.h>
+#include <
api
_drv_common.h>
#include "ipstack.h"
#include "link.h"
#include "ipstack.h"
#include "link.h"
@@
-348,10
+348,10
@@
tRoute *IPStack_FindRoute(int AddressType, tInterface *Interface, void *Address)
{
rt = &Interface->Route;
// Make sure route is up to date
{
rt = &Interface->Route;
// Make sure route is up to date
- memcpy(rt->Network,
i
face->Address, addrSize);
+ memcpy(rt->Network,
Inter
face->Address, addrSize);
memset(rt->NextHop, 0, addrSize);
rt->Metric = DEFAUTL_METRIC;
memset(rt->NextHop, 0, addrSize);
rt->Metric = DEFAUTL_METRIC;
- rt->SubnetBits =
i
face->SubnetBits;
+ rt->SubnetBits =
Inter
face->SubnetBits;
if( IPStack_CompareAddress(AddressType, rt->Network, Address, rt->SubnetBits) )
{
if( IPStack_CompareAddress(AddressType, rt->Network, Address, rt->SubnetBits) )
{
UCC
git Repository :: git.ucc.asn.au