Re: [PATCH] Fix for interface names parameter ignores subsequent parameters

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

 



On Mon, Nov 07, 2016 at 01:43:36PM -0500, Sam Tannous wrote:
> When using -i to specify one or more comma separated interfaces
> (that all use the same config file), we also need to change
> the loop parameters (interface.count) so that all the interfaces get
> initialized.  Also, we need to make sure that all the
> hostapd_interface_init()
> calls are made with the same config filename.
> 
> This patch fixes hostapd/main.c to correct the interface count
> and use of the one config file in the interface initialization call.

I don't think this is the way this argument was supposed to work. In
other words, it is more flexible and allows some interfaces to use
different configuration files as needed. In any case, there would need
to be a configuration file listed for each interface on the command line
even if they were to be the same file for more than one interface. For
example:

hostapd -i wlan0,wlan1,wlan2 a.conf b.conf a.conf

This would use a.conf configuration file for both wlan0 and wlan2 while
b.conf is used for wlan1.

-- 
Jouni Malinen                                            PGP id EFC895FA

_______________________________________________
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