Fix Typo in getHostmask() signature