fix link checking with switches, only port1 of switches would report link up