From ce9758de206aff543973762db1d3755dd0594684 Mon Sep 17 00:00:00 2001
From: Bifur1 <166629756+Bifur1@users.noreply.github.com>
Date: Thu, 22 May 2025 11:58:46 -0400
Subject: [PATCH] Update {$mac}.xml (#7369)
Allow device to not revert back to DHCP on reboot and keep manually entered static IP.
---
resources/templates/provision/grandstream/ht802/{$mac}.xml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/resources/templates/provision/grandstream/ht802/{$mac}.xml b/resources/templates/provision/grandstream/ht802/{$mac}.xml
index 64a5e3b5c9..2a32b139a2 100644
--- a/resources/templates/provision/grandstream/ht802/{$mac}.xml
+++ b/resources/templates/provision/grandstream/ht802/{$mac}.xml
@@ -2451,7 +2451,7 @@
- 0
+ {if isset($grandstream_ip_mode)}{$grandstream_ip_mode}{else}0{/if}