From 0aecbf065e65ef3dab5ed654f22df43c81011ff4 Mon Sep 17 00:00:00 2001 From: wollman Date: Tue, 13 Dec 1994 22:31:49 +0000 Subject: Add support for two separate cloning flags, one set by the lower layers, and one set by the protocol family. Also add another parameter to rtalloc1() to allow for any interface flags to be ignored; currently this is only useful for RTF_PRCLONING. Get rid of rt_prflags and re-unite with rt_flags. Add T/TCP ``route metrics''. NB: YOU MUST RECOMPILE `route' AND OTHER RELATED PROGRAMS AS A RESULT OF THIS CHANGE. This also adds a new interface parameter, `ifi_physical', which will eventually replace IFF_ALTPHYS as the mechanism for specifying the particular physical connection desired on a multiple-connection card. NB: YOU MUST RECOMPILE `ifconfig' AND OTHER RELATED PROGRAMS AS A RESULT OF THIS CHANGE. --- sys/net/rtsock.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sys/net/rtsock.c') diff --git a/sys/net/rtsock.c b/sys/net/rtsock.c index d482a97..d73604e 100644 --- a/sys/net/rtsock.c +++ b/sys/net/rtsock.c @@ -31,7 +31,7 @@ * SUCH DAMAGE. * * @(#)rtsock.c 8.3 (Berkeley) 1/4/94 - * $Id: rtsock.c,v 1.6 1994/10/08 22:38:26 phk Exp $ + * $Id: rtsock.c,v 1.7 1994/10/11 23:16:29 wollman Exp $ */ #include @@ -196,7 +196,7 @@ route_output(m, so) case RTM_GET: case RTM_CHANGE: case RTM_LOCK: - rt = rtalloc1(dst, 0); + rt = rtalloc1(dst, 0, 0UL); if (rt == 0) senderr(ESRCH); if (rtm->rtm_type != RTM_GET) {/* XXX: too grotty */ -- cgit v1.1