Use grandstream_ip_mode default 0 - DHCP

Deprecate grandstream_ip_address_mode
This commit is contained in:
FusionPBX
2026-02-18 17:12:28 -07:00
committed by GitHub
parent 4dc66748e0
commit fd0e447496
4 changed files with 6 additions and 6 deletions
@@ -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}