userspace/tools: trivial changes to wrsw_vlans
* MAXPORTS is NPORTS (so to use the usual C convention
* parse as list of ranges like 1-5,9,12-14
* introduce for_each_port()
* complain of no port mask is set before config
Signed-off-by:
Alessandro Rubini <rubini@gnudd.com>
Please register or sign in to comment