Fix the bug that port is not installed after reinstall interface