Add (currently undocumented) option to allow management from certain networks.

This commit is contained in:
Adam Ierymenko 2016-11-14 15:47:06 -08:00
parent ee5bd57d40
commit b6c99ba3ef
3 changed files with 36 additions and 16 deletions

View file

@ -98,10 +98,12 @@ 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);
unsigned int port,
const char *allowManagementFrom = (const char *)0);
virtual ~OneService();