Re: UPnP SUBSCRIBE misbehavior in hostapd WPS AP

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



In message <20200609095102.GA10103@xxxxx>, Jouni Malinen writes:
> 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.

Thanks.

I have a number of other patches here that should probably be upstreamed. 
Should I post them here too?


-- 
Cheers,
Cy Schubert <Cy.Schubert@xxxxxxxxxxxxx>
FreeBSD UNIX:  <cy@xxxxxxxxxxx>   Web:  https://FreeBSD.org
NTP:           <cy@xxxxxxxxxx>    Web:  https://nwtime.org

	The need of the many outweighs the greed of the few.



_______________________________________________
Hostap mailing list
Hostap@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/hostap



[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]

  Powered by Linux