Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 26 Jun 2020 14:18:08 +0000 (UTC)
From:      Cy Schubert <cy@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r362651 - head/usr.sbin/wpa/wpa_supplicant
Message-ID:  <202006261418.05QEI8FL076261@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: cy
Date: Fri Jun 26 14:18:08 2020
New Revision: 362651
URL: https://svnweb.freebsd.org/changeset/base/362651

Log:
  Add MATCH option for CONFIG_MATCH_IFACE.
  
  If the interfaces on which wpa_supplicant is to run are not known or do
  not exist, wpa_supplicant can match an interface when it arrives. Each
  matched interface is separated with -M argument and the -i argument now
  allows for pattern matching.
  
  As an example, the following command would start wpa_supplicant for a
  specific wired interface called lan0, any interface starting with wlan
  and lastly any other interface. Each match has its own configuration
  file, and for the wired interface a specific driver has also been given.
  
  wpa_supplicant \
  	-M -c wpa_wired.conf -ilan0 -D wired \
  	-M -c wpa1.conf -iwlan* \
  	-M -c wpa2.conf
  
  PR:		247177
  Reported by:	greg@unrelenting.technology
  MFC after:	1 month
  Related to:	ports r540412

Modified:
  head/usr.sbin/wpa/wpa_supplicant/Makefile

Modified: head/usr.sbin/wpa/wpa_supplicant/Makefile
==============================================================================
--- head/usr.sbin/wpa/wpa_supplicant/Makefile	Fri Jun 26 12:11:22 2020	(r362650)
+++ head/usr.sbin/wpa/wpa_supplicant/Makefile	Fri Jun 26 14:18:08 2020	(r362651)
@@ -49,7 +49,8 @@ CFLAGS+=-DCONFIG_BACKEND_FILE \
 	-DCONFIG_TLS=openssl \
 	-DCONFIG_WPS2 \
 	-DCONFIG_WPS_UPNP \
-	-DPKCS12_FUNCS
+	-DPKCS12_FUNCS \
+	-DCONFIG_MATCH_IFACE
 #CFLAGS+= -g
 LIBADD=	pcap util
 



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