non-pcode ipv4/6 added

This commit is contained in:
chansizzle
2021-05-11 13:06:59 -06:00
committed by GitHub
parent f99d9198c8
commit 91a8c214c1

View File

@@ -666,7 +666,17 @@
<!-- Ethernet Settings -->
<!-- Preferred Internet Protocol -->
<!-- BothAndPreferIPv4, BothAndPreferIPv6, IPv4Only, IPv6Only -->
<item name="network.internetProtocol">BothAndPreferIPv4</item>
{if $grandstream_ipv_mode=='0'}
<item name="network.internetProtocol">BothAndPreferIPv4</item>
{elseif $grandstream_ipv_mode=='1'}
<item name="network.internetProtocol">BothAndPreferIPv6</item>
{elseif $grandstream_ipv_mode=='2'}
<item name="network.internetProtocol">IPv4Only</item>
{elseif $grandstream_ipv_mode=='3'}
<item name="network.internetProtocol">IPv6Only</item>
{else}
<item name="network.internetProtocol">BothAndPreferIPv4</item>
{/if}
<!-- IPv4 Address Type -->
<!-- DHCP, StaticIP, PPPoE -->
<item name="network.port.eth.1.type">DHCP</item>