On Mon, Jun 08, 2020 at 05:23:56PM -0700, Cy Schubert wrote: > This won't build under FreeBSD. This patch works around the issue. > > diff --git a/src/wps/wps_upnp.c b/src/wps/wps_upnp.c > @@ -951,7 +951,11 @@ int get_netif_info(const char *net_if, unsigned > +#if defined(__FreeBSD__) || defined(__FreeBSD_kernel__) > + addr = (struct sockaddr_in *) &req.ifr_addr; > +#else > addr = (struct sockaddr_in *) &req.ifr_netmask; > +#endif Thanks. I'll just change this to use ifr_addr for everything to keep things simpler since that works on Linux as well. -- Jouni Malinen PGP id EFC895FA _______________________________________________ Hostap mailing list Hostap@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/hostap