mirror of
https://git.freebsd.org/ports.git
synced 2025-05-18 10:03:10 -04:00
Add two new development ports tracking the latest w1.fi development. WPA developement is hosted at git://w1.fi/hostap.git however ports plumbing provides API access to github. Therefore I cloned/forked hostap, renaming "origin" to "upstream," with a brand-new "origin" located on github. In theory this will allow me to git pull from git://w1.fi/hostap.git and push to my github repo. This will coincide with base tracking more recent developent at w1.fi, supporting WPA3. Discussed with: phillip@
12 lines
509 B
C
12 lines
509 B
C
--- src/wps/wps_upnp.c.orig 2021-03-16 13:50:10.000000000 -0700
|
|
+++ src/wps/wps_upnp.c 2021-03-18 12:49:19.537874000 -0700
|
|
@@ -963,7 +963,8 @@
|
|
goto fail;
|
|
}
|
|
os_memcpy(mac, req.ifr_addr.sa_data, 6);
|
|
-#elif defined(__FreeBSD__) || defined(__FreeBSD_kernel__) || defined(__APPLE__)
|
|
+#elif defined(__FreeBSD__) || defined(__FreeBSD_kernel__) || defined(__APPLE__) \
|
|
+ || defined(__DragonFly__)
|
|
if (eth_get(net_if, mac) < 0) {
|
|
wpa_printf(MSG_ERROR, "WPS UPnP: Failed to get MAC address");
|
|
goto fail;
|