From 96ccbaeca134d79970864b7e55c144e257b7f008 Mon Sep 17 00:00:00 2001
From: chansizzle <14916599+chansizzle@users.noreply.github.com>
Date: Fri, 11 Dec 2020 16:00:40 -0700
Subject: [PATCH] adding dhcp options variables
---
resources/templates/provision/grandstream/gxv3140/{$mac}.xml | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/resources/templates/provision/grandstream/gxv3140/{$mac}.xml b/resources/templates/provision/grandstream/gxv3140/{$mac}.xml
index 933fc02783..18d4da6a42 100644
--- a/resources/templates/provision/grandstream/gxv3140/{$mac}.xml
+++ b/resources/templates/provision/grandstream/gxv3140/{$mac}.xml
@@ -1403,10 +1403,10 @@
-1
+{if isset($grandstream_dhcp_option_override)}{$grandstream_dhcp_option_override}{else}1{/if}
-1
+{if isset($grandstream_dhcp_option_override_sip_server)}{$grandstream_dhcp_option_override_sip_server}{else}{if isset($grandstream_dhcp_option_override_sip_server)}{$grandstream_dhcp_option_override_sip_server}{else}0{/if}{/if}
0