mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2026-01-06 03:33:49 +00:00
Merge pull request #5938 from chansizzle/patch-470
non-pcode ipv4/6 added
This commit is contained in:
@@ -737,7 +737,17 @@
|
||||
<!-- Ethernet Settings -->
|
||||
<!-- Preferred Internet Protocol -->
|
||||
<!-- BothAndPreferIPv4, BothAndPreferIPv6, IPv4Only, IPv6Only -->
|
||||
<item name="network.internetProtocol">IPv4Only</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 -->
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user