make router preflight code more readable
Merge pull request #550 from thomaspeklak/master

Make router preflight code more readable