FreeBSD: store netmask in dotted decimal format

Please accept if it is OK for you.