mirror of
https://github.com/ipmitool/ipmitool.git
synced 2026-01-22 22:52:20 +08:00
1. my_addr is not set if an interface does not expose set_my_addr. Currently, the only interface which requires some special handling to set my_addr is OpenIPMI. But changing of my_addr still needed for other interfaces. So, we must set it regardless of presence of set_my_addr(). 2. Since set_my_addr() for serial interfaces only sets my_addr, we remove them as redundand. 3. Bridging is enabled when either trasit_addr or target_addr is not 0. Currentle transit_addr is not regarded. 4. target_lun does not relate to briging. It is needed for "raw" command. We set it regardles of bridging. Commit for: Dmitry Bazhenov