On 2021/10/24 11:57, Klemens Nanni wrote:
> On Sun, Oct 24, 2021 at 12:41:11PM +0100, Stuart Henderson wrote:
> > On 2021/10/24 11:20, Klemens Nanni wrote:
> > > @@ -174,7 +174,7 @@ The following
> > >  example creates a host-based access point on boot:
> > >  .Bd -literal -offset indent
> > >  mediaopt hostap
> > > -nwid mynwid nwkey mywepkey
> > > +join mynwid nwkey mywepkey
> > >  inet 192.168.1.1 255.255.255.0
> > 
> > that's not right for hostap
> 
> Thanks for eagle-eying this!
> 
> OK?

yes. (I don't use join everywhere, but it seems like a pretty good thing
to use by default).

> --- share/man/man4/an.4       15 Oct 2021 08:10:44 -0000      1.45
> +++ share/man/man4/an.4       24 Oct 2021 10:17:23 -0000
> @@ -134,7 +134,7 @@ using WEP key
>  .Dq mywepkey ,
>  obtaining an IP address using DHCP:
>  .Bd -literal -offset indent
> -nwid mynwid nwkey mywepkey
> +join mynwid nwkey mywepkey
>  inet autoconf
>  .Ed
>  .Sh DIAGNOSTICS

wondering if it really makes sense to include these examples sections
in wlan drivers any more, but that's orthogonal to this diff.

Reply via email to