mirror of
https://github.com/libvirt/libvirt.git
synced 2026-10-02 12:20:06 -05:00
docs: route element must specify network address
because network address is required by route, so here we should add one avoid user misunderstand. Signed-off-by: Chen Fan <chen.fan.fnst@cn.fujitsu.com>
This commit is contained in:
1 parent
1c19c5eff6
commit
f276f0557e
1 file changed
+2
-2
@@ -4471,7 +4471,7 @@ qemu-kvm -net nic,model=? /dev/null
|
||||
<target dev='vnet0'/>
|
||||
<b><ip address='192.168.122.5' prefix='24'/></b>
|
||||
<b><route family='ipv4' address='192.168.122.0' prefix='24' gateway='192.168.122.1'/></b>
|
||||
<b><route family='ipv4' gateway='192.168.122.1'/></b>
|
||||
<b><route family='ipv4' address='192.168.122.8' gateway='192.168.122.1'/></b>
|
||||
</interface>
|
||||
...
|
||||
<hostdev mode='capabilities' type='net'>
|
||||
@@ -4480,7 +4480,7 @@ qemu-kvm -net nic,model=? /dev/null
|
||||
</source>
|
||||
<b><ip address='192.168.122.6' prefix='24'/></b>
|
||||
<b><route family='ipv4' address='192.168.122.0' prefix='24' gateway='192.168.122.1'/></b>
|
||||
<b><route family='ipv4' gateway='192.168.122.1'/></b>
|
||||
<b><route family='ipv4' address='192.168.122.8' gateway='192.168.122.1'/></b>
|
||||
</hostdev>
|
||||
|
||||
</devices>
|
||||
|
||||
Reference in new issue
Block a user