because network address is required by route, so
here we should add one avoid user misunderstand.

Signed-off-by: Chen Fan <[email protected]>
---
 docs/formatdomain.html.in | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/docs/formatdomain.html.in b/docs/formatdomain.html.in
index 3b3d2d9..d7fe942 100644
--- a/docs/formatdomain.html.in
+++ b/docs/formatdomain.html.in
@@ -4472,7 +4472,7 @@ qemu-kvm -net nic,model=? /dev/null
       &lt;target dev='vnet0'/&gt;
       <b>&lt;ip address='192.168.122.5' prefix='24'/&gt;</b>
       <b>&lt;route family='ipv4' address='192.168.122.0' prefix='24' 
gateway='192.168.122.1'/&gt;</b>
-      <b>&lt;route family='ipv4' gateway='192.168.122.1'/&gt;</b>
+      <b>&lt;route family='ipv4' address='192.168.122.8' 
gateway='192.168.122.1'/&gt;</b>
     &lt;/interface&gt;
     ...
     &lt;hostdev mode='capabilities' type='net'&gt;
@@ -4481,7 +4481,7 @@ qemu-kvm -net nic,model=? /dev/null
       &lt;/source&gt;
       <b>&lt;ip address='192.168.122.6' prefix='24'/&gt;</b>
       <b>&lt;route family='ipv4' address='192.168.122.0' prefix='24' 
gateway='192.168.122.1'/&gt;</b>
-      <b>&lt;route family='ipv4' gateway='192.168.122.1'/&gt;</b>
+      <b>&lt;route family='ipv4' address='192.168.122.8' 
gateway='192.168.122.1'/&gt;</b>
     &lt;/hostdev&gt;
 
   &lt;/devices&gt;
-- 
1.9.3

--
libvir-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/libvir-list

Reply via email to