It seems the SIOCGMIIPHY ioctl in watch_one_xcvr resets the phy index to 0 and thus that port is the one checked for changes instead of the chosen one. Fixed by adding
SIOCGMIIPHY
watch_one_xcvr
0
if (override_phy >= 0) mii->phy_id = override_phy;
to the function.
this has been fixed here: https://sourceforge.net/p/net-tools/code/ci/038ed39acb9eb62196809f2dcc2940bedee46cb7
Log in to post a comment.
this has been fixed here:
https://sourceforge.net/p/net-tools/code/ci/038ed39acb9eb62196809f2dcc2940bedee46cb7