Skip to content

Commit

Permalink
Merge branch 'quagga' into osr-integ
Browse files Browse the repository at this point in the history
  • Loading branch information
avnshs committed Apr 12, 2012
2 parents eebffc1 + a25a44d commit a01158c
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion ospfd/ospf_lsa.h
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,14 @@ struct router_lsa_link
};

/* OSPF Router-LSAs structure. */
#define OSPF_ROUTER_LSA_MIN_SIZE 16U /* w/1 link descriptor */
#define OSPF_ROUTER_LSA_MIN_SIZE 4U /* w/0 link descriptors */
/* There is an edge case, when number of links in a Router-LSA may be 0 without
breaking the specification. A router, which has no other links to backbone
area besides one virtual link, will not put any VL descriptor blocks into
the Router-LSA generated for area 0 until a full adjacency over the VL is
reached (RFC2328 12.4.1.3). In this case the Router-LSA initially received
by the other end of the VL will have 0 link descriptor blocks, but soon will
be replaced with the next revision having 1 descriptor block. */
struct router_lsa
{
struct lsa_header header;
Expand Down

0 comments on commit a01158c

Please sign in to comment.