Make allow management from a local.conf parameters.

This commit is contained in:
Adam Ierymenko 2016-12-12 16:25:41 -08:00
parent bad4b72f82
commit 890f6f0d35
3 changed files with 132 additions and 116 deletions

View file

@ -98,12 +98,8 @@ public:
*
* @param hp Home path
* @param port TCP and UDP port for packets and HTTP control (if 0, pick random port)
* @param allowManagementFrom If non-NULL, allow control from supplied IP/netmask
*/
static OneService *newInstance(
const char *hp,
unsigned int port,
const char *allowManagementFrom = (const char *)0);
static OneService *newInstance(const char *hp,unsigned int port);
virtual ~OneService();