Deleted Added
full compact
ddp_pcb.c (41591) ddp_pcb.c (43305)
1/*
2 * Copyright (c) 1990,1994 Regents of The University of Michigan.
3 * All Rights Reserved. See COPYRIGHT.
4 */
5
6#include <sys/param.h>
7#include <sys/systm.h>
8#include <sys/proc.h>

--- 335 unchanged lines hidden (view full) ---

344 */
345 if ( ro->ro_rt ) {
346 if ( hintnet ) {
347 net = hintnet;
348 } else {
349 net = sat->sat_addr.s_net;
350 }
351 aa = 0;
1/*
2 * Copyright (c) 1990,1994 Regents of The University of Michigan.
3 * All Rights Reserved. See COPYRIGHT.
4 */
5
6#include <sys/param.h>
7#include <sys/systm.h>
8#include <sys/proc.h>

--- 335 unchanged lines hidden (view full) ---

344 */
345 if ( ro->ro_rt ) {
346 if ( hintnet ) {
347 net = hintnet;
348 } else {
349 net = sat->sat_addr.s_net;
350 }
351 aa = 0;
352 if ( ifp = ro->ro_rt->rt_ifp ) {
352 if ((ifp = ro->ro_rt->rt_ifp) != NULL) {
353 for ( aa = at_ifaddr; aa; aa = aa->aa_next ) {
354 if ( aa->aa_ifp == ifp &&
355 ntohs( net ) >= ntohs( aa->aa_firstnet ) &&
356 ntohs( net ) <= ntohs( aa->aa_lastnet )) {
357 break;
358 }
359 }
360 }

--- 225 unchanged lines hidden ---
353 for ( aa = at_ifaddr; aa; aa = aa->aa_next ) {
354 if ( aa->aa_ifp == ifp &&
355 ntohs( net ) >= ntohs( aa->aa_firstnet ) &&
356 ntohs( net ) <= ntohs( aa->aa_lastnet )) {
357 break;
358 }
359 }
360 }

--- 225 unchanged lines hidden ---