git-svn-id: http://svn.openzap.org/svn/openzap/trunk@9 a93c3328-9c30-0410-af19-c9cd2b2d52af
This commit is contained in:
Anthony Minessale committed 2007-05-17 01:54:30 +00:00
1 parent 96300781c8
commit ef2aac954f
6 files changed
+13 -12

No files matched your search

+3 -3
View File
@@ -228,17 +228,17 @@ zap_status_t zap_global_init(void)
zap_config_t cfg;
char *var, *val;
unsigned configured = 0;
zap_software_interface_t *zint = NULL;
zap_software_interface_t *zint;
zint, 0;
globals.interface_hash = create_hashtable(16, hashfromstring, equalkeys);
zint = NULL;
#ifdef ZAP_WANPIPE_SUPPORT
if (wanpipe_init(&zint) == ZAP_SUCCESS) {
hashtable_insert(globals.interface_hash, (void *)zint->name, zint);
}
#endif
zint = NULL;
#ifdef ZAP_ZT_SUPPORT
if (zt_init(&zint) == ZAP_SUCCESS) {
hashtable_insert(globals.interface_hash, (void *)zint->name, zint);