summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorhasso <hasso>2004-04-17 10:09:29 +0000
committerhasso <hasso>2004-04-17 10:09:29 +0000
commita7e06b98abe10cf95ed1cb1a57ccb2fff5fdecd6 (patch)
tree9d48480b01e45f9295ca61db2203977b12f40427
parent4cd5e9d9a5f9e51a4deb5141fc501aba24823f49 (diff)
downloadquagga-a7e06b98abe10cf95ed1cb1a57ccb2fff5fdecd6.tar.bz2
quagga-a7e06b98abe10cf95ed1cb1a57ccb2fff5fdecd6.tar.xz
Fix obviously wrong info in documentation.
-rw-r--r--doc/ospfd.texi15
1 files changed, 9 insertions, 6 deletions
diff --git a/doc/ospfd.texi b/doc/ospfd.texi
index 2c24a210..509a75c7 100644
--- a/doc/ospfd.texi
+++ b/doc/ospfd.texi
@@ -96,17 +96,20 @@ preferred to external paths.
@deffnx {OSPF Command} {network @var{a.b.c.d/m} area @var{<0-4294967295>}} {}
@deffnx {OSPF Command} {no network @var{a.b.c.d/m} area @var{a.b.c.d}} {}
@deffnx {OSPF Command} {no network @var{a.b.c.d/m} area @var{<0-4294967295>}} {}
-This command specifies the OSPF enabled interface. If the interface has
-an address of 10.0.0.1/8 then the command below provides network
-information to the ospf routers
+This command specifies the OSPF enabled interface(s). If the interface has
+an address from range 192.168.1.0/24 then the command below enables ospf
+on this interface so router can provide network information to the other
+ospf routers via this interface.
@example
@group
router ospf
- network 10.0.0.0/8 area 0
+ network 192.168.1.0/24 area 0.0.0.0
@end group
@end example
-the network command's mask length should be the same as the interface
-address's mask.
+Prefix length in interface must be equal or bigger (ie. smaller network) than
+prefix length in network statement. For example statement above doesn't enable
+ospf on interface with address 192.168.1.1/23, but it does on interface with
+address 192.168.1.129/25.
@end deffn
@node OSPF area, OSPF interface, OSPF router, OSPFv2