added enable flag to netdevice