]> git.ipfire.org Git - thirdparty/iw.git/commit - info.c
iw: unify interface type list printing
authorJohannes Berg <johannes.berg@intel.com>
Wed, 18 Aug 2021 12:22:57 +0000 (14:22 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Fri, 20 Aug 2021 08:28:14 +0000 (10:28 +0200)
commita6cedc6d46dfcb55e9a3ed20a20d68cd515b9830
treeda824e6ef92410f9eb2b11443d18e04cd6164c25
parentd59e90862ab89bdc3c443be0e31c5f466d3fe816
iw: unify interface type list printing

Add two new functions print_iftype_list() and print_iftype_line()
to print interface lists, and use them where applicable.

Link: https://lore.kernel.org/r/20210818142256.3325c72c65e4.I844f8e382b0ecee00c21886342d0bfd70e246a9f@changeid
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
info.c
iw.h
util.c