From 93587737d7d0b3664c5d898a70b772e40cae938b Mon Sep 17 00:00:00 2001 From: Garrett Wollman Date: Tue, 13 Dec 1994 22:33:05 +0000 Subject: [PATCH] Update calls to rtalloc1(). --- sys/netiso/esis.c | 4 ++-- sys/netiso/if_cons.c | 6 +++--- sys/netiso/iso_snpac.c | 8 ++++---- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/sys/netiso/esis.c b/sys/netiso/esis.c index 03ecedca5a06..886093245d8a 100644 --- a/sys/netiso/esis.c +++ b/sys/netiso/esis.c @@ -31,7 +31,7 @@ * SUCH DAMAGE. * * @(#)esis.c 8.1 (Berkeley) 6/10/93 - * $Id$ + * $Id: esis.c,v 1.2 1994/08/02 07:50:09 davidg Exp $ */ /*********************************************************** @@ -318,7 +318,7 @@ struct rtentry *rt; /* snpa cache info regarding next hop of if (rt->rt_flags & RTF_GATEWAY) { rd_gwnsap = &((struct sockaddr_iso *)rt->rt_gateway)->siso_addr; - rt = rtalloc1(rt->rt_gateway, 0); + rt = rtalloc1(rt->rt_gateway, 0, 0UL); } else rd_gwnsap = &((struct sockaddr_iso *)rt_key(rt))->siso_addr; if (rt == 0 || (sdl = (struct sockaddr_dl *)rt->rt_gateway) == 0 || diff --git a/sys/netiso/if_cons.c b/sys/netiso/if_cons.c index 4878365197d4..8c519edc1638 100644 --- a/sys/netiso/if_cons.c +++ b/sys/netiso/if_cons.c @@ -31,7 +31,7 @@ * SUCH DAMAGE. * * @(#)if_cons.c 8.1 (Berkeley) 6/10/93 - * $Id$ + * $Id: if_cons.c,v 1.2 1994/08/02 07:50:20 davidg Exp $ */ /*********************************************************** @@ -61,7 +61,7 @@ SOFTWARE. * ARGO Project, Computer Sciences Dept., University of Wisconsin - Madison */ /* - * $Header: /home/ncvs/src/sys/netiso/if_cons.c,v 1.1.1.1 1994/05/24 10:07:14 rgrimes Exp $ + * $Header: /home/ncvs/src/sys/netiso/if_cons.c,v 1.2 1994/08/02 07:50:20 davidg Exp $ * $Source: /home/ncvs/src/sys/netiso/if_cons.c,v $ * * cons.c - Connection Oriented Network Service: @@ -725,7 +725,7 @@ NSAPtoDTE(siso, sx25) nsiso = blank_siso; bcopy(nsiso.siso_data, siso->siso_data, nsiso.siso_nlen = siso->siso_nlen); - if (rt = rtalloc1(&nsiso, 1)) { + if (rt = rtalloc1(&nsiso, 1, 0UL)) { register struct sockaddr_x25 *sxx = (struct sockaddr_x25 *)rt->rt_gateway; register char *in = sxx->x25_addr; diff --git a/sys/netiso/iso_snpac.c b/sys/netiso/iso_snpac.c index 5ade7aea8e40..fd9b529284d5 100644 --- a/sys/netiso/iso_snpac.c +++ b/sys/netiso/iso_snpac.c @@ -31,7 +31,7 @@ * SUCH DAMAGE. * * @(#)iso_snpac.c 8.1 (Berkeley) 6/10/93 - * $Id$ + * $Id: iso_snpac.c,v 1.2 1994/08/02 07:50:44 davidg Exp $ */ /*********************************************************** @@ -60,7 +60,7 @@ SOFTWARE. /* * ARGO Project, Computer Sciences Dept., University of Wisconsin - Madison */ -/* $Header: /home/ncvs/src/sys/netiso/iso_snpac.c,v 1.1.1.1 1994/05/24 10:07:07 rgrimes Exp $ */ +/* $Header: /home/ncvs/src/sys/netiso/iso_snpac.c,v 1.2 1994/08/02 07:50:44 davidg Exp $ */ /* $Source: /home/ncvs/src/sys/netiso/iso_snpac.c,v $ */ #ifdef ISO @@ -395,7 +395,7 @@ int nsellength; /* nsaps may differ only in trailing bytes */ ifp, nsap, snpa, type, ht, nsellength); ENDDEBUG zap_isoaddr(dst, nsap); - rt = rtalloc1(S(dst), 0); + rt = rtalloc1(S(dst), 0, 0UL); IFDEBUG(D_SNPA) printf("snpac_add: rtalloc1 returns %x\n", rt); ENDDEBUG @@ -555,7 +555,7 @@ register struct rtentry *sc; } known_is = sc; sc->rt_refcnt++; - rt = rtalloc1((struct sockaddr *)&zsi, 0); + rt = rtalloc1((struct sockaddr *)&zsi, 0, 0UL); if (rt == 0) rtrequest(RTM_ADD, S(zsi), rt_key(sc), S(zmk), RTF_DYNAMIC|RTF_GATEWAY, 0);