Menu

#19 mii-tool uses the wrong phy index when watching

BETA-1.65-UPSTREAM
closed-fixed
nobody
mii-tool (1)
5
2021-01-06
2014-07-25
No

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

if (override_phy >= 0)
    mii->phy_id = override_phy;

to the function.

Discussion

  • Mike Frysinger

    Mike Frysinger - 2021-01-06
    • status: open --> closed-fixed
     

Log in to post a comment.