- fix segfault and accept ipv6 netmasks (bnc 887501)
- clean up nfs code