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
More work on UDI, cleanup and pseudod should now load.
[tpg/acess2.git]
/
Modules
/
IPStack
/
ipv6.c
diff --git
a/Modules/IPStack/ipv6.c
b/Modules/IPStack/ipv6.c
index
31aedcb
..
16c9bbd
100644
(file)
--- a/
Modules/IPStack/ipv6.c
+++ b/
Modules/IPStack/ipv6.c
@@
-7,6
+7,7
@@
#include "ipv6.h"
// === IMPORTS ===
#include "ipv6.h"
// === IMPORTS ===
+extern tInterface *gIP_Interfaces;
extern Uint32 IPv4_Netmask(int FixedBits);
// === PROTOTYPES ===
extern Uint32 IPv4_Netmask(int FixedBits);
// === PROTOTYPES ===
@@
-46,8
+47,11
@@
tInterface *IPv6_GetInterface(tAdapter *Adapter, tIPv6 Address, int Broadcast)
tInterface *iface = NULL;
Uint32 netmask;
tInterface *iface = NULL;
Uint32 netmask;
- for( iface =
Adapter->
Interfaces; iface; iface = iface->Next)
+ for( iface =
gIP_
Interfaces; iface; iface = iface->Next)
{
{
+ // Check for this adapter
+ if( iface->Adapter != Adapter ) continue;
+
// Skip non-IPv6 Interfaces
if( iface->Type != 6 ) continue;
// Skip non-IPv6 Interfaces
if( iface->Type != 6 ) continue;
UCC
git Repository :: git.ucc.asn.au