Fix bug #101: incorrect banmask generation when hostname looks like an IP
Authored by: cesarxzf 2013-06-15
Parent: [r1308]
Child: [r1310]