verify_networks fixed according to changed API

Change-Id: I1a6ebc6600f30a56e9a19f9925a6de5a81fbc2eb
Merge "verify_networks fixed according to changed API"