Bug 979739 - Fix netmask string format error and use netHelper. r=vchang