summaryrefslogtreecommitdiff
path: root/usr.bin/netstat/show.c
diff options
context:
space:
mode:
authorMichele Marchetto <michele@cvs.openbsd.org>2009-02-03 16:44:16 +0000
committerMichele Marchetto <michele@cvs.openbsd.org>2009-02-03 16:44:16 +0000
commiteaff2ea3212185b28f2b1e7d4ad7787569f51d0d (patch)
treef2ff78ee8c593cd28ef77acfe94be9c44341b371 /usr.bin/netstat/show.c
parent628b50697a8761bcac8e34d9ffdff103646d2ee5 (diff)
Reflect MPLS kernel changes. Operations are stored now in rt_mpls field.
ok claudio@ laurent@
Diffstat (limited to 'usr.bin/netstat/show.c')
-rw-r--r--usr.bin/netstat/show.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/netstat/show.c b/usr.bin/netstat/show.c
index 36fc25f96a8..57ee669ac10 100644
--- a/usr.bin/netstat/show.c
+++ b/usr.bin/netstat/show.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: show.c,v 1.18 2009/01/26 17:28:09 claudio Exp $ */
+/* $OpenBSD: show.c,v 1.19 2009/02/03 16:44:15 michele Exp $ */
/* $NetBSD: show.c,v 1.1 1996/11/15 18:01:41 gwr Exp $ */
/*
@@ -297,7 +297,7 @@ p_rtentry(struct rt_msghdr *rtm)
return;
p_sockaddr(sa, mask, rtm->rtm_flags, WID_DST(sa->sa_family));
- p_sockaddr_mpls(sa, rti_info[RTAX_SRC], rtm->rtm_flags,
+ p_sockaddr_mpls(sa, rti_info[RTAX_SRC], rtm->rtm_mpls,
WID_DST(sa->sa_family));
p_sockaddr(rti_info[RTAX_GATEWAY], NULL, RTF_HOST,