Replace "while 1" loop with a for loop in check_flow
Merge branch 'master' of https://github.com/OPENNETWORKINGLAB/ONLabTest