diff options
author | Michele Marchetto <michele@cvs.openbsd.org> | 2008-12-15 16:13:56 +0000 |
---|---|---|
committer | Michele Marchetto <michele@cvs.openbsd.org> | 2008-12-15 16:13:56 +0000 |
commit | 803549b94cd18b0b300c2a3c53d249a16bb5f11d (patch) | |
tree | dd3d5a34f31a3937f092efc03c239bd88d3bdce9 /sys/netmpls/mpls_proto.c | |
parent | b5c5e7c45886de4f2ee25c1b80309f031d35ae70 (diff) |
Initial fixup of sockaddr_mpls struct.
Remove smpls_in_iface as labels must be per platform unique.
Remove smpls_out_iface. It is redudant and can be inferred from nexthop.
Move smpls_operation to rt_flags and temporary remove smpls_out_exp.
ok claudio@
Diffstat (limited to 'sys/netmpls/mpls_proto.c')
-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 f3e4f510f3c..d2e987ca0df 100644 --- a/sys/netmpls/mpls_proto.c +++ b/sys/netmpls/mpls_proto.c @@ -1,4 +1,4 @@ -/* $OpenBSD: mpls_proto.c,v 1.2 2008/04/23 11:22:23 norby Exp $ */ +/* $OpenBSD: mpls_proto.c,v 1.3 2008/12/15 16:13:55 michele Exp $ */ /* * Copyright (C) 1999, 2000 and 2001 AYAME Project, WIDE Project. @@ -71,6 +71,6 @@ struct domain mplsdomain = { mplssw, &mplssw[sizeof(mplssw)/sizeof(mplssw[0])], 0, rn_inithead, - offsetof(struct sockaddr_mpls, smpls_in_ifindex) << 3, + offsetof(struct sockaddr_mpls, smpls_in_label) << 3, sizeof(struct sockaddr_mpls) }; |