svn commit: r363561 - in stable: 11/usr.sbin/wpa/wpa_supplicant 12/usr.sbin/wpa/wpa_supplicant
Cy Schubert
cy at FreeBSD.org
Sun Jul 26 13:07:10 UTC 2020
Author: cy
Date: Sun Jul 26 13:07:09 2020
New Revision: 363561
URL: https://svnweb.freebsd.org/changeset/base/363561
Log:
MFC r362651:
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 at unrelenting.technology
Related to: ports r540412
Modified:
stable/12/usr.sbin/wpa/wpa_supplicant/Makefile
Directory Properties:
stable/12/ (props changed)
Changes in other areas also in this revision:
Modified:
stable/11/usr.sbin/wpa/wpa_supplicant/Makefile
Directory Properties:
stable/11/ (props changed)
Modified: stable/12/usr.sbin/wpa/wpa_supplicant/Makefile
==============================================================================
--- stable/12/usr.sbin/wpa/wpa_supplicant/Makefile Sun Jul 26 12:29:22 2020 (r363560)
+++ stable/12/usr.sbin/wpa/wpa_supplicant/Makefile Sun Jul 26 13:07:09 2020 (r363561)
@@ -52,7 +52,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
More information about the svn-src-stable
mailing list