diff --git a/resources/templates/provision/grandstream/gxp20xx/{$mac}.xml b/resources/templates/provision/grandstream/gxp20xx/{$mac}.xml
index 9b59b2fa28..40f841561c 100644
--- a/resources/templates/provision/grandstream/gxp20xx/{$mac}.xml
+++ b/resources/templates/provision/grandstream/gxp20xx/{$mac}.xml
@@ -106,7 +106,7 @@
-1
+{if isset($grandstream_dhcp_option_override)}{$grandstream_dhcp_option_override}{else}1{/if}
0