Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 30 Dec 2017 19:35:12 +0000 (UTC)
From:      Bryan Venteicher <bryanv@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r327385 - head/sys/net
Message-ID:  <201712301935.vBUJZCTL094578@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bryanv
Date: Sat Dec 30 19:35:12 2017
New Revision: 327385
URL: https://svnweb.freebsd.org/changeset/base/327385

Log:
  Advertise IFCAP_LINKSTAT after r326480 added link status support
  
  MFC after:	2 weeks

Modified:
  head/sys/net/if_vxlan.c

Modified: head/sys/net/if_vxlan.c
==============================================================================
--- head/sys/net/if_vxlan.c	Sat Dec 30 19:27:22 2017	(r327384)
+++ head/sys/net/if_vxlan.c	Sat Dec 30 19:35:12 2017	(r327385)
@@ -2743,6 +2743,8 @@ vxlan_clone_create(struct if_clone *ifc, int unit, cad
 	ifp->if_ioctl = vxlan_ioctl;
 	ifp->if_transmit = vxlan_transmit;
 	ifp->if_qflush = vxlan_qflush;
+	ifp->if_capabilities |= IFCAP_LINKSTATE;
+	ifp->if_capenable |= IFCAP_LINKSTATE;
 
 	ifmedia_init(&sc->vxl_media, 0, vxlan_media_change, vxlan_media_status);
 	ifmedia_add(&sc->vxl_media, IFM_ETHER | IFM_AUTO, 0, NULL);



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201712301935.vBUJZCTL094578>