bindings: (fixes #1187) Skip non-ns-3 libs with "ns3" in name
This commit is contained in:
@@ -39,6 +39,7 @@ The required Doxygen version for documentation generation is now version 1.13.
|
||||
- (wifi) #2368 - Fix various issues related to Content Channels and RU allocation. Fixes mostly covers cases where OFDMA is used with central 26 tones, where a single user is being assigned the whole PPDU bandwidth or where a RU is larger than 20 MHz.
|
||||
- (zigbee) !2383 - Fix malformed RREP command with missing command options field.
|
||||
- (mobility) !2397 - Fix Rectangle::GetClosestSideOrCorner. It could assign the incorrect side when the checked position was outside the rectangle.
|
||||
- (bindings) #1187 - Fix library filtering to skip non-ns-3 libraries with "ns3" in their names.
|
||||
|
||||
## Release 3.44
|
||||
|
||||
|
||||
@@ -351,6 +351,9 @@ def get_newest_version(versions: list) -> str:
|
||||
def find_ns3_from_search() -> (str, list, str):
|
||||
libraries = search_libraries("ns3")
|
||||
|
||||
# Filter in libraries prefixed with libns3
|
||||
libraries = list(filter(lambda x: "libns3" in x, libraries))
|
||||
|
||||
if not libraries:
|
||||
raise Exception("ns-3 libraries were not found.")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user