Re: fix ifconfig joinlist width bug

2020-02-23 Thread Kevin Lo
On Sat, Feb 22, 2020 at 06:38:36PM +0100, Stefan Sperling wrote: > > This fixes display of hex SSIDs in 'ifconfig joinlist' and prevents a > negative number being passed to printf on the following line when 'maxlen' > ends up being capped below the maximum value returned from len_string(): > >

fix ifconfig joinlist width bug

2020-02-22 Thread Stefan Sperling
This fixes display of hex SSIDs in 'ifconfig joinlist' and prevents a negative number being passed to printf on the following line when 'maxlen' ends up being capped below the maximum value returned from len_string(): printf("%-*s", maxlen - len, " "); Hex SSIDs can be as wide as