*
* srvx is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
+ * the Free Software Foundation; either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
node = conf_get_data("modules/qserver", RECDB_OBJECT);
if (!node)
return;
- str1 = database_get_data(node, "address", RECDB_QSTRING);
+ str1 = database_get_data(node, "bind_address", RECDB_QSTRING);
+ if (!str1)
+ str1 = database_get_data(node, "address", RECDB_QSTRING);
str2 = database_get_data(node, "port", RECDB_QSTRING);
if (!str2)
return;