Print the value of the 4ADDR attribute when dumping the interface
status.
Signed-off-by: Antonio Quartulli <a@unstable.cc>
[print only when enabled]
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Change-Id: Ieaa5de972638e9c0a9b74fe1daf4aa86dba2c7fd
printf("%s\tmulticast TXQ:%s\n", indent, buf);
}
+ if (tb_msg[NL80211_ATTR_4ADDR]) {
+ uint8_t use_4addr = nla_get_u8(tb_msg[NL80211_ATTR_4ADDR]);
+ if (use_4addr)
+ printf("%s\t4addr: on\n", indent);
+ }
+
return NL_SKIP;
}