]> git.puffer.fish Git - matthieu/frr.git/commitdiff
Fix obviously wrong info in documentation.
authorhasso <hasso>
Sat, 17 Apr 2004 10:09:29 +0000 (10:09 +0000)
committerhasso <hasso>
Sat, 17 Apr 2004 10:09:29 +0000 (10:09 +0000)
doc/ospfd.texi

index 2c24a210f2408dc58a18dc4458bdf07ef8c29613..509a75c76f4a439eeb75e84c6689f4268442a3ba 100644 (file)
@@ -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