mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2026-01-08 04:33:49 +00:00
Add Grandstream variable for IP mode (DHCP, Static, Etc) (#7380)
* Update {$mac}.xml
Allow device to not revert back to DHCP on reboot and keep manually entered static IP.
* Add variable for IP mode (DHCP, Static, etc)
Prevents device from reverting back to DHCP on reboot if a static IP is manually set.
This commit is contained in:
@@ -1794,7 +1794,7 @@
|
||||
<!-- # IP Address. 0 - DHCP, 2 - PPPoE, 1 - Static IP -->
|
||||
<!-- # Number: 0, 1, 2 -->
|
||||
<!-- # Mandatory -->
|
||||
<P8>0</P8>
|
||||
{if isset($grandstream_ip_mode)}<P8>{$grandstream_ip_mode}</P8>{else}<P8>0</P8>{/if}
|
||||
|
||||
<!-- ################################################################################# -->
|
||||
<!-- # DHCP -->
|
||||
|
||||
Reference in New Issue
Block a user