diff --git a/resources/templates/provision/grandstream/ht502/{$mac}.xml b/resources/templates/provision/grandstream/ht502/{$mac}.xml
index 26bc279a23..4e0759bcd2 100644
--- a/resources/templates/provision/grandstream/ht502/{$mac}.xml
+++ b/resources/templates/provision/grandstream/ht502/{$mac}.xml
@@ -73,7 +73,7 @@
- 1
+ {if isset($grandstream_dhcp_option_override)}{$grandstream_dhcp_option_override}{else}1{/if}
0