r1533 + bugfix: config reset was wrong for default port type