Fix netmask for nil values
Merge pull request #18 from ares/master

Fix netmask for nil values