diff options
author | Claudio Jeker <claudio@cvs.openbsd.org> | 2010-10-15 12:42:57 +0000 |
---|---|---|
committer | Claudio Jeker <claudio@cvs.openbsd.org> | 2010-10-15 12:42:57 +0000 |
commit | 9793ed57e8fbc4d4f3465d56872597587e7afd2b (patch) | |
tree | cccfb5d6ed16bc628c637cae8063f851e90093da /sys | |
parent | afc71aecf23d65d23155e9ad92a8e93cf8d94812 (diff) |
Enable multipath support on the MPLS routing table. ldpd needs this and
the priority support that comes together with it. Currently no balancing
will happen, only the first path will be used.
Diffstat (limited to 'sys')
-rw-r--r-- | sys/netmpls/mpls_proto.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/netmpls/mpls_proto.c b/sys/netmpls/mpls_proto.c index a2ddb5979c2..525b19417fe 100644 --- a/sys/netmpls/mpls_proto.c +++ b/sys/netmpls/mpls_proto.c @@ -1,4 +1,4 @@ -/* $OpenBSD: mpls_proto.c,v 1.4 2009/01/08 12:47:45 michele Exp $ */ +/* $OpenBSD: mpls_proto.c,v 1.5 2010/10/15 12:42:56 claudio Exp $ */ /* * Copyright (C) 1999, 2000 and 2001 AYAME Project, WIDE Project. @@ -70,7 +70,7 @@ struct domain mplsdomain = { AF_MPLS, "mpls", mpls_init, 0, 0, mplssw, &mplssw[sizeof(mplssw)/sizeof(mplssw[0])], 0, - rn_inithead, + rn_mpath_inithead, offsetof(struct sockaddr_mpls, smpls_label) << 3, sizeof(struct sockaddr_mpls) }; |