mirror of
https://github.com/Telecominfraproject/ols-ucentral-client.git
synced 2026-01-27 10:21:46 +00:00
Fix getting FDB entry MAC address
This commit is contained in:
committed by
Kostiantyn Buravchenko
parent
6a5f77f6fc
commit
6080da5a05
@@ -250,7 +250,9 @@ std::vector<plat_learned_mac_addr> get_learned_mac_addrs()
|
||||
learned_entry.mac,
|
||||
PLATFORM_MAC_STR_SIZE,
|
||||
"%s",
|
||||
fdb_json.at("mac").template get<std::string>());
|
||||
fdb_json.at("mac")
|
||||
.template get<std::string>()
|
||||
.c_str());
|
||||
|
||||
learned_mac_addrs.push_back(learned_entry);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user