initialise length field in netmask_addr