initialize volues

This commit is contained in:
satbaby
2012-05-08 21:44:25 +02:00
parent e14fc80ed5
commit 2b76702c7a
3 changed files with 8 additions and 0 deletions

View File

@@ -296,6 +296,7 @@ class SIevent
vps = 0; vps = 0;
table_id = 0xFF; /* 0xFF means "not set" */ table_id = 0xFF; /* 0xFF means "not set" */
version = 0xFF; version = 0xFF;
running = false;
} }
void parse(Event &event); void parse(Event &event);

View File

@@ -66,6 +66,8 @@ DMX::DMX()
dmx_num = 0; dmx_num = 0;
dmxBufferSizeInKB = 512; dmxBufferSizeInKB = 512;
init(); init();
eit_version = 0;
dmx = 0;
} }
void DMX::init() void DMX::init()

View File

@@ -39,6 +39,11 @@ CNetworkConfig::CNetworkConfig()
netGetNameserver(our_nameserver); netGetNameserver(our_nameserver);
nameserver = our_nameserver; nameserver = our_nameserver;
ifname = "eth0"; ifname = "eth0";
orig_automatic_start = false;
orig_inet_static = false;
automatic_start = false;
inet_static = false;
wireless = false;
} }
CNetworkConfig* CNetworkConfig::getInstance() CNetworkConfig* CNetworkConfig::getInstance()