diff --git a/resources/templates/provision/grandstream/gxw42xx/{$mac}.xml b/resources/templates/provision/grandstream/gxw42xx/{$mac}.xml
index be52100959..10ebb70589 100644
--- a/resources/templates/provision/grandstream/gxw42xx/{$mac}.xml
+++ b/resources/templates/provision/grandstream/gxw42xx/{$mac}.xml
@@ -196,7 +196,7 @@
-1
+{if isset($grandstream_dhcp_option_override)}{$grandstream_dhcp_option_override}{else}1{/if}