network: clang-format
This commit is contained in:
parent
b41fcdedff
commit
b19890c0b1
|
@ -845,11 +845,8 @@ void waybar::modules::Network::parseBssid(struct nlattr **bss) {
|
|||
auto bssid = static_cast<uint8_t *>(nla_data(bss[NL80211_BSS_BSSID]));
|
||||
auto bssid_len = nla_len(bss[NL80211_BSS_BSSID]);
|
||||
if (bssid_len == 6) {
|
||||
bssid_ = std::format(
|
||||
"{:x}:{:x}:{:x}:{:x}:{:x}:{:x}",
|
||||
bssid[0], bssid[1], bssid[2],
|
||||
bssid[3], bssid[4], bssid[5]
|
||||
);
|
||||
bssid_ = std::format("{:x}:{:x}:{:x}:{:x}:{:x}:{:x}", bssid[0], bssid[1], bssid[2], bssid[3],
|
||||
bssid[4], bssid[5]);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue