Bug fix about wrong variable

When getting network type about the external client, the bug is happened.