mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-02 12:23:31 +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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user