Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/netbsd-8]: src/sys/compat/common Pull up following revision(s) (requeste...



details:   https://anonhg.NetBSD.org/src/rev/7640ab9e6db7
branches:  netbsd-8
changeset: 435038:7640ab9e6db7
user:      martin <martin%NetBSD.org@localhost>
date:      Sat Jun 09 14:38:18 2018 +0000

description:
Pull up following revision(s) (requested by nonaka in ticket #861):

        sys/compat/common/rtsock_50.c: revision 1.7

Added missing ifi_link_state at compat_50_rt_oifmsg() and compat_50_iflist().

diffstat:

 sys/compat/common/rtsock_50.c |  6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diffs (34 lines):

diff -r bed7c82c4ef9 -r 7640ab9e6db7 sys/compat/common/rtsock_50.c
--- a/sys/compat/common/rtsock_50.c     Sat Jun 09 14:35:21 2018 +0000
+++ b/sys/compat/common/rtsock_50.c     Sat Jun 09 14:38:18 2018 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: rtsock_50.c,v 1.4 2015/08/24 22:50:33 pooka Exp $      */
+/*     $NetBSD: rtsock_50.c,v 1.4.10.1 2018/06/09 14:38:18 martin Exp $        */
 
 /*
  * Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project.
@@ -61,7 +61,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: rtsock_50.c,v 1.4 2015/08/24 22:50:33 pooka Exp $");
+__KERNEL_RCSID(0, "$NetBSD: rtsock_50.c,v 1.4.10.1 2018/06/09 14:38:18 martin Exp $");
 
 #ifdef _KERNEL_OPT
 #include "opt_compat_netbsd.h"
@@ -92,6 +92,7 @@
        oifm.ifm_data.ifi_type = ifp->if_data.ifi_type;
        oifm.ifm_data.ifi_addrlen = ifp->if_data.ifi_addrlen;
        oifm.ifm_data.ifi_hdrlen = ifp->if_data.ifi_hdrlen;
+       oifm.ifm_data.ifi_link_state = ifp->if_data.ifi_link_state;
        oifm.ifm_data.ifi_mtu = ifp->if_data.ifi_mtu;
        oifm.ifm_data.ifi_metric = ifp->if_data.ifi_metric;
        oifm.ifm_data.ifi_baudrate = ifp->if_data.ifi_baudrate;
@@ -128,6 +129,7 @@
        ifm->ifm_data.ifi_type = ifp->if_data.ifi_type;
        ifm->ifm_data.ifi_addrlen = ifp->if_data.ifi_addrlen;
        ifm->ifm_data.ifi_hdrlen = ifp->if_data.ifi_hdrlen;
+       ifm->ifm_data.ifi_link_state = ifp->if_data.ifi_link_state;
        ifm->ifm_data.ifi_mtu = ifp->if_data.ifi_mtu;
        ifm->ifm_data.ifi_metric = ifp->if_data.ifi_metric;
        ifm->ifm_data.ifi_baudrate = ifp->if_data.ifi_baudrate;



Home | Main Index | Thread Index | Old Index