summaryrefslogtreecommitdiffstats
path: root/sys/net/rtsock.c
diff options
context:
space:
mode:
authorwollman <wollman@FreeBSD.org>1994-12-13 22:31:49 +0000
committerwollman <wollman@FreeBSD.org>1994-12-13 22:31:49 +0000
commit0aecbf065e65ef3dab5ed654f22df43c81011ff4 (patch)
tree8e41de5435ea8387c75fe2144d1076bb73b3b11e /sys/net/rtsock.c
parent50e1db60c0a0910f56c464560a692d603a747f64 (diff)
downloadFreeBSD-src-0aecbf065e65ef3dab5ed654f22df43c81011ff4.zip
FreeBSD-src-0aecbf065e65ef3dab5ed654f22df43c81011ff4.tar.gz
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.
Diffstat (limited to 'sys/net/rtsock.c')
-rw-r--r--sys/net/rtsock.c4
1 files changed, 2 insertions, 2 deletions
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 <sys/param.h>
@@ -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 */
OpenPOWER on IntegriCloud