eiwd

no dbus iwd with iwctl functionality
git clone https://git.daat.foo/repos/eiwd.git
Log | Files | Refs | Submodules | README | LICENSE

commit 3ff9f59ba1a7b6edc6fe2c1168dca0aac90c072a
parent 2fd58141a4e1abd7eef5cd5234fc81e421282c71
Author: Denis Kenzior <denkenz@gmail.com>
Date:   Fri, 21 Jun 2019 12:22:08 -0500

monitor: Print MAC_ADDRS array

Diffstat:
Mmonitor/nlmon.c | 5++++-
1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/monitor/nlmon.c b/monitor/nlmon.c @@ -3860,7 +3860,8 @@ static const struct attr_entry attr_table[] = { { NL80211_ATTR_ACL_POLICY, "ACL Policy", ATTR_U32 }, { NL80211_ATTR_MAC_ADDRS, - "MAC Addresses" }, + "MAC Addresses", ATTR_ARRAY, + { .array_type = ATTR_ADDRESS } }, { NL80211_ATTR_MAC_ACL_MAX, "MAC ACL Max" }, { NL80211_ATTR_RADAR_EVENT, @@ -3977,6 +3978,8 @@ static void print_value(int indent, const char *label, enum attr_type type, case ATTR_S64: case ATTR_STRING: case ATTR_ADDRESS: + print_address(indent, label, buf); + break; case ATTR_BINARY: case ATTR_NESTED: case ATTR_ARRAY: