]> git.puffer.fish Git - matthieu/frr.git/commit
ospf: Fix type-4 network mask to 0 per RFC
authorLeonard Tracy <letracy@amazon.com>
Tue, 4 Dec 2012 19:02:35 +0000 (11:02 -0800)
committerScott Feldman <sfeldma@cumulusnetworks.com>
Mon, 7 Jan 2013 17:59:45 +0000 (09:59 -0800)
commit2345a2221aa0a02b96846beab6088815f41e791b
tree2486cfbf3985c95a8f5ab0724de4d256e71bfd5e
parentfaf9875832539f00940904e1424f2e789fef52d4
ospf: Fix type-4 network mask to 0 per RFC

The OSPF RFC (2328) states that the network mask field of a type 4
LSA "is not meaningful and must be zero".  OSPFD has been setting
the mask as /32.  This patch changes OSPFD to set the mask to 0 per
the RFC

Signed-off-by: Scott Feldman <sfeldma@cumulusnetworks.com>
ospfd/ospf_lsa.c