Fix comments to reflect changes in eth service

OEMs should be able to set gateway, DNS and domain for their static IP
configuration.

Cherry picked without conflicts.

Bug: 80090920
Test: m
Merged-in: Id7b6d538e2551cbd188821feb4b4feb102e4c751
(cherry picked from commit d6b0780628)

Change-Id: I347a91e202fb6d6f1ae893c097c7d2e8856a3593
This commit is contained in:
Pavel Maltsev
2018-05-30 12:31:21 -07:00
parent acbd94d76f
commit 37014a1ea2

View File

@@ -368,12 +368,14 @@
[Network Capabilities] Optional. A comma seprated list of network capabilities.
Values must be from NetworkCapabilities#NET_CAPABILITIES_* constants.
[IP config] Optional. If empty or not specified - DHCP will be used, otherwise
static IP address with the mask.
use the following format to specify static IP configuration:
ip=<ip-address/mask> gateway=<ip-address> dns=<comma-sep-ip-addresses>
domains=<comma-sep-domains>
-->
<string-array translatable="false" name="config_ethernet_interfaces">
<!--
<item>eth1;12,13,14,15;192.168.0.10/24</item>
<item>eth2;;192.168.0.11/24</item>
<item>eth1;12,13,14,15;ip=192.168.0.10/24 gateway=192.168.0.1 dns=4.4.4.4,8.8.8.8</item>
<item>eth2;;ip=192.168.0.11/24</item>
-->
</string-array>