Support for multiple netmasks and IPv6
Merge pull request #1443 from wnagele/master

Support for multiple netmasks and IPv6