Use grandstream_ip_mode default 0 - DHCP
Deprecate grandstream_ip_address_mode
This commit is contained in:
@@ -2721,7 +2721,7 @@
|
||||
<!-- Number: 0,1,2 -->
|
||||
<!-- Mandatory -->
|
||||
<!-- Reboot required -->
|
||||
<P8>{$grandstream_ip_address_mode}</P8>
|
||||
<P8>{$grandstream_ip_mode}</P8>
|
||||
|
||||
<!-- Preferred DNS server -->
|
||||
<!-- Mandatory -->
|
||||
|
||||
@@ -995,7 +995,7 @@
|
||||
|
||||
<!-- IPv4 Address Type -->
|
||||
<!-- DHCP, Static IP -->
|
||||
{if isset($grandstream_ip_address_mode) && $grandstream_ip_address_mode == 1}
|
||||
{if isset($grandstream_ip_mode) && $grandstream_ip_mode == 1}
|
||||
<item name="network.port.eth.1.type">Static IP</item>
|
||||
{else}
|
||||
<item name="network.port.eth.1.type">DHCP</item>
|
||||
|
||||
@@ -18,8 +18,8 @@
|
||||
<!-- Number: 0,1,2 -->
|
||||
<!-- Mandatory -->
|
||||
<!-- Reboot required -->
|
||||
{if isset($grandstream_ip_address_mode)}
|
||||
<P8>{$grandstream_ip_address_mode}</P8>
|
||||
{if isset($grandstream_ip_mode)}
|
||||
<P8>{$grandstream_ip_mode}</P8>
|
||||
{else}
|
||||
<P8>0</P8>
|
||||
{/if}
|
||||
|
||||
Reference in New Issue
Block a user