Make sw_interface_dump more compatible with 2.2.0