fixed uninitialized member in ctor

This commit is contained in:
Guenter Obiltschnig 2016-09-26 17:48:09 +02:00
parent 1bb795e7ed
commit eabae863bb

View File

@ -228,7 +228,8 @@ NetworkInterfaceImpl::NetworkInterfaceImpl(const std::string& name,
_pointToPoint(false),
_up(false),
_running(false),
_mtu(0)
_mtu(0),
_type(NetworkInterface::NI_TYPE_OTHER)
{
_addressList.push_back(AddressTuple(address, subnetMask, broadcastAddress));
setPhyParams();