Use non-specific way to detect shared networks

RM9305
Merge pull request #232 from jmeridth/use_non_specific_shared_networks_detection

Use non-specific way to detect shared networks