Remove the lan access control list as its not needed by default.
This commit is contained in:
@@ -17,7 +17,7 @@
|
|||||||
|
|
||||||
The Initial Developer of the Original Code is
|
The Initial Developer of the Original Code is
|
||||||
Mark J Crane <markjcrane@fusionpbx.com>
|
Mark J Crane <markjcrane@fusionpbx.com>
|
||||||
Portions created by the Initial Developer are Copyright (C) 2015
|
Portions created by the Initial Developer are Copyright (C) 2016
|
||||||
the Initial Developer. All Rights Reserved.
|
the Initial Developer. All Rights Reserved.
|
||||||
|
|
||||||
Contributor(s):
|
Contributor(s):
|
||||||
@@ -48,9 +48,6 @@
|
|||||||
else {
|
else {
|
||||||
$xml_string = "<configuration name=\"acl.conf\" description=\"Network Lists\">\n";
|
$xml_string = "<configuration name=\"acl.conf\" description=\"Network Lists\">\n";
|
||||||
$xml_string .= " <network-lists>\n";
|
$xml_string .= " <network-lists>\n";
|
||||||
$xml_string .= " <list name=\"lan\" default=\"allow\">\n";
|
|
||||||
$xml_string .= " <node type=\"allow\" cidr=\"192.168.42.42/32\"/>\n";
|
|
||||||
$xml_string .= " </list>\n";
|
|
||||||
$xml_string .= " <list name=\"domains\" default=\"deny\">\n";
|
$xml_string .= " <list name=\"domains\" default=\"deny\">\n";
|
||||||
$xml_string .= " <node type=\"allow\" domain=\"".$_SESSION['domain_name']."\"/>\n";
|
$xml_string .= " <node type=\"allow\" domain=\"".$_SESSION['domain_name']."\"/>\n";
|
||||||
$xml_string .= " </list>\n";
|
$xml_string .= " </list>\n";
|
||||||
|
|||||||
Reference in New Issue
Block a user