From 91a8c214c10e85f71b387889cd3f757ab690a28d Mon Sep 17 00:00:00 2001 From: chansizzle <14916599+chansizzle@users.noreply.github.com> Date: Tue, 11 May 2021 13:06:59 -0600 Subject: [PATCH] non-pcode ipv4/6 added --- .../provision/grandstream/gxv3370/{$mac}.xml | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/resources/templates/provision/grandstream/gxv3370/{$mac}.xml b/resources/templates/provision/grandstream/gxv3370/{$mac}.xml index fb629e672b..d5b262f843 100644 --- a/resources/templates/provision/grandstream/gxv3370/{$mac}.xml +++ b/resources/templates/provision/grandstream/gxv3370/{$mac}.xml @@ -666,7 +666,17 @@ - BothAndPreferIPv4 + {if $grandstream_ipv_mode=='0'} + BothAndPreferIPv4 + {elseif $grandstream_ipv_mode=='1'} + BothAndPreferIPv6 + {elseif $grandstream_ipv_mode=='2'} + IPv4Only + {elseif $grandstream_ipv_mode=='3'} + IPv6Only + {else} + BothAndPreferIPv4 + {/if} DHCP