Fix port comparision, use port_equal()