Changeset c52f1c7 in rtems


Ignore:
Timestamp:
Feb 27, 2002, 10:39:18 PM (20 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
cb1e8a46
Parents:
1bbe2e1
Message:

2002-02-27 Eric Norum <eric.norum@…>

  • net/radix.c: Properly handle fetching the default route when there is no route. This was a bug in the original FreeBSD code and this fix is from an updated version of their code.
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • c/src/exec/libnetworking/ChangeLog

    r1bbe2e1 rc52f1c7  
     12002-02-27      Eric Norum <eric.norum@usask.ca>
     2
     3        * net/radix.c: Properly handle fetching the default route when there
     4        is no route.  This was a bug in the original FreeBSD code and this
     5        fix is from an updated version of their code.
     6
    172001-02-01      Mike Siers <mikes@poliac.com>
    28
  • c/src/exec/libnetworking/net/radix.c

    r1bbe2e1 rc52f1c7  
    265265         * This extra grot is in case we are explicitly asked
    266266         * to look up the default.  Ugh!
    267          */
    268         if ((t->rn_flags & RNF_ROOT) && t->rn_dupedkey)
     267         *
     268         * Never return the root node itself, it seems to cause a
     269         * lot of confusion.
     270         */
     271        if (t->rn_flags & RNF_ROOT)
    269272                t = t->rn_dupedkey;
    270273        return t;
  • c/src/libnetworking/ChangeLog

    r1bbe2e1 rc52f1c7  
     12002-02-27      Eric Norum <eric.norum@usask.ca>
     2
     3        * net/radix.c: Properly handle fetching the default route when there
     4        is no route.  This was a bug in the original FreeBSD code and this
     5        fix is from an updated version of their code.
     6
    172001-02-01      Mike Siers <mikes@poliac.com>
    28
  • c/src/libnetworking/net/radix.c

    r1bbe2e1 rc52f1c7  
    265265         * This extra grot is in case we are explicitly asked
    266266         * to look up the default.  Ugh!
    267          */
    268         if ((t->rn_flags & RNF_ROOT) && t->rn_dupedkey)
     267         *
     268         * Never return the root node itself, it seems to cause a
     269         * lot of confusion.
     270         */
     271        if (t->rn_flags & RNF_ROOT)
    269272                t = t->rn_dupedkey;
    270273        return t;
  • cpukit/libnetworking/ChangeLog

    r1bbe2e1 rc52f1c7  
     12002-02-27      Eric Norum <eric.norum@usask.ca>
     2
     3        * net/radix.c: Properly handle fetching the default route when there
     4        is no route.  This was a bug in the original FreeBSD code and this
     5        fix is from an updated version of their code.
     6
    172001-02-01      Mike Siers <mikes@poliac.com>
    28
  • cpukit/libnetworking/net/radix.c

    r1bbe2e1 rc52f1c7  
    265265         * This extra grot is in case we are explicitly asked
    266266         * to look up the default.  Ugh!
    267          */
    268         if ((t->rn_flags & RNF_ROOT) && t->rn_dupedkey)
     267         *
     268         * Never return the root node itself, it seems to cause a
     269         * lot of confusion.
     270         */
     271        if (t->rn_flags & RNF_ROOT)
    269272                t = t->rn_dupedkey;
    270273        return t;
Note: See TracChangeset for help on using the changeset viewer.