diff --git a/resources/templates/provision/grandstream/grp2614/{$mac}.xml b/resources/templates/provision/grandstream/grp2614/{$mac}.xml
index 8baa84d634..86977dc9f8 100644
--- a/resources/templates/provision/grandstream/grp2614/{$mac}.xml
+++ b/resources/templates/provision/grandstream/grp2614/{$mac}.xml
@@ -3818,7 +3818,7 @@
- 0
+ {if isset($grandstream_ipv_mode)}{$grandstream_ipv_mode}{else}0{/if}