Closed srmainwaring closed 1 month ago
I think probably the correct fix here is to switch to using psutil to get this information for us; it has all of it in a cross-platform way.
Can you give the code in https://github.com/ros2/ros2cli/tree/clalancette/revamp-doctor-network a whirl and see if it is better on macOS (that branch should work with Rolling). If that is better, then I can test it out on Windows and open a PR for it.
Can you give the code in https://github.com/ros2/ros2cli/tree/clalancette/revamp-doctor-network a whirl and see if it is better on macOS (that branch should work with Rolling). If that is better, then I can test it out on Windows and open a PR for it.
Thanks @clalancette - this works well on macOS 14.5.
Thanks @clalancette - this works well on macOS 14.5.
Awesome, thanks for testing. I've opened up #910 now.
Bug report
Required Info:
git log commit 58b61c98378fa49a4a164450f1d5222bde2e4f50 (HEAD -> humble, tag: 0.18.10, origin/humble)
ros2doctor
Steps to reproduce issue
Expected behavior
No output, as multicast is supported on loopback:
Actual behavior
Additional information
Bitmask used in
ros2doctor
defined here:https://github.com/ros2/ros2cli/blob/58b61c98378fa49a4a164450f1d5222bde2e4f50/ros2doctor/ros2doctor/api/network.py#L30-L50
Bitmask
#defines
for net interfaces in macOS 14.4: