Fix switching port showing

Fix reading of config file to show active switching ports