diff options
author | Claudio Jeker <claudio@cvs.openbsd.org> | 2010-03-23 15:03:26 +0000 |
---|---|---|
committer | Claudio Jeker <claudio@cvs.openbsd.org> | 2010-03-23 15:03:26 +0000 |
commit | 20657683b1b1d28c9c27fe6f2f3bc0d4bbb80393 (patch) | |
tree | 06e82d33d20c5def6a572e05524d16c1c72fca85 /sys/net | |
parent | e06673c1aacda501987dbaa94ca0d3e9cd5defb6 (diff) |
Set rtm_mpls on RTM_GET so that we get the correct options on mpls routes.
OK michele@
Diffstat (limited to 'sys/net')
-rw-r--r-- | sys/net/rtsock.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/net/rtsock.c b/sys/net/rtsock.c index a1b42028345..6d34e851fe7 100644 --- a/sys/net/rtsock.c +++ b/sys/net/rtsock.c @@ -1,4 +1,4 @@ -/* $OpenBSD: rtsock.c,v 1.97 2010/02/09 16:34:57 claudio Exp $ */ +/* $OpenBSD: rtsock.c,v 1.98 2010/03/23 15:03:25 claudio Exp $ */ /* $NetBSD: rtsock.c,v 1.18 1996/03/29 00:32:10 cgd Exp $ */ /* @@ -570,6 +570,7 @@ report: (struct sockaddr *)&sa_mpls; info.rti_mpls = ((struct rt_mpls *) rt->rt_llinfo)->mpls_operation; + rtm->rtm_mpls = info.rti_mpls; } #endif ifpaddr = 0; |