mirror of
https://github.com/libvirt/libvirt.git
synced 2025-02-25 18:55:26 -06:00
docs: no 'via' attribute in route element
via -> gateway Signed-off-by: Chen Fan <chen.fan.fnst@cn.fujitsu.com>
This commit is contained in:
parent
f6fbd36fd4
commit
1c19c5eff6
@ -4470,8 +4470,8 @@ qemu-kvm -net nic,model=? /dev/null
|
|||||||
<source network='default'/>
|
<source network='default'/>
|
||||||
<target dev='vnet0'/>
|
<target dev='vnet0'/>
|
||||||
<b><ip address='192.168.122.5' prefix='24'/></b>
|
<b><ip address='192.168.122.5' prefix='24'/></b>
|
||||||
<b><route family='ipv4' address='192.168.122.0' prefix='24' via='192.168.122.1'/></b>
|
<b><route family='ipv4' address='192.168.122.0' prefix='24' gateway='192.168.122.1'/></b>
|
||||||
<b><route family='ipv4' via='192.168.122.1'/></b>
|
<b><route family='ipv4' gateway='192.168.122.1'/></b>
|
||||||
</interface>
|
</interface>
|
||||||
...
|
...
|
||||||
<hostdev mode='capabilities' type='net'>
|
<hostdev mode='capabilities' type='net'>
|
||||||
@ -4479,8 +4479,8 @@ qemu-kvm -net nic,model=? /dev/null
|
|||||||
<interface>eth0</interface>
|
<interface>eth0</interface>
|
||||||
</source>
|
</source>
|
||||||
<b><ip address='192.168.122.6' prefix='24'/></b>
|
<b><ip address='192.168.122.6' prefix='24'/></b>
|
||||||
<b><route family='ipv4' address='192.168.122.0' prefix='24' via='192.168.122.1'/></b>
|
<b><route family='ipv4' address='192.168.122.0' prefix='24' gateway='192.168.122.1'/></b>
|
||||||
<b><route family='ipv4' via='192.168.122.1'/></b>
|
<b><route family='ipv4' gateway='192.168.122.1'/></b>
|
||||||
</hostdev>
|
</hostdev>
|
||||||
|
|
||||||
</devices>
|
</devices>
|
||||||
|
Loading…
Reference in New Issue
Block a user