diff --git a/resources/templates/provision/grandstream/gxw40xx/{$mac}.xml b/resources/templates/provision/grandstream/gxw40xx/{$mac}.xml
index 417a748345..48dd982ba8 100644
--- a/resources/templates/provision/grandstream/gxw40xx/{$mac}.xml
+++ b/resources/templates/provision/grandstream/gxw40xx/{$mac}.xml
@@ -98,7 +98,7 @@
- 1
+ {if isset($grandstream_dhcp_option_override)}{$grandstream_dhcp_option_override}{else}1{/if}