diff --git a/RELEASE_NOTES.md b/RELEASE_NOTES.md index 6cad03c1b..a645b6fd7 100644 --- a/RELEASE_NOTES.md +++ b/RELEASE_NOTES.md @@ -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 diff --git a/bindings/python/ns__init__.py b/bindings/python/ns__init__.py index 6cd864645..546791ef5 100644 --- a/bindings/python/ns__init__.py +++ b/bindings/python/ns__init__.py @@ -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.")