A month after pst@ has committed his revision 1.8, it was
incorporated by UCB as revision 8.5. Do a diff reduction.
This commit is contained in:
parent
6f782c4636
commit
053e23428c
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=108268
@ -30,7 +30,7 @@
|
||||
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* @(#)radix.c 8.4 (Berkeley) 11/2/94
|
||||
* @(#)radix.c 8.5 (Berkeley) 5/19/95
|
||||
* $FreeBSD$
|
||||
*/
|
||||
|
||||
@ -587,6 +587,9 @@ rn_addroute(v_arg, n_arg, head, treenodes)
|
||||
* in a masklist -- most specific to least specific.
|
||||
* This may require the unfortunate nuisance of relocating
|
||||
* the head of the list.
|
||||
*
|
||||
* We also reverse, or doubly link the list through the
|
||||
* parent pointer.
|
||||
*/
|
||||
if (tt == saved_tt) {
|
||||
struct radix_node *xx = x;
|
||||
@ -772,8 +775,8 @@ rn_delete(v_arg, netmask_arg, head)
|
||||
dupedkey = saved_tt->rn_dupedkey;
|
||||
if (dupedkey) {
|
||||
/*
|
||||
* at this point, tt is the deletion target and saved_tt
|
||||
* is the head of the dupekey chain
|
||||
* Here, tt is the deletion target and
|
||||
* saved_tt is the head of the dupekey chain.
|
||||
*/
|
||||
if (tt == saved_tt) {
|
||||
/* remove from head of chain */
|
||||
|
Loading…
Reference in New Issue
Block a user