mirror of
https://github.com/reactos/reactos.git
synced 2025-02-23 17:05:46 +00:00
[IP]
- Favor routers that have responded to our ARP queries during route selection svn path=/trunk/; revision=57066
This commit is contained in:
parent
360a87c9f9
commit
307df8d456
1 changed files with 1 additions and 1 deletions
|
@ -277,7 +277,7 @@ PNEIGHBOR_CACHE_ENTRY RouterGetRoute(PIP_ADDRESS Destination)
|
|||
A2S(&NCE->Address), Length));
|
||||
|
||||
if(Length >= MaskLength && (Length > BestLength || !BestNCE) &&
|
||||
(!(State & NUD_STALE) || !BestNCE)) {
|
||||
((!(State & NUD_STALE) && !(State & NUD_INCOMPLETE)) || !BestNCE)) {
|
||||
/* This seems to be a better router */
|
||||
BestNCE = NCE;
|
||||
BestLength = Length;
|
||||
|
|
Loading…
Reference in a new issue