[Xorp-cvs] SF.net SVN: xorp:[11539] trunk/xorp/ospf/lsa.hh

bms_fbsd at users.sourceforge.net bms_fbsd at users.sourceforge.net
Wed Sep 2 18:21:02 PDT 2009


Revision: 11539
          http://xorp.svn.sourceforge.net/xorp/?rev=11539&view=rev
Author:   bms_fbsd
Date:     2009-09-03 01:21:01 +0000 (Thu, 03 Sep 2009)

Log Message:
-----------
Correct the minimum length of an AS-External-LSA in OSPFv3.

As per RFC 2740 section A.4.1, if the PrefixLength is 0, i.e. a default
route is being advertised, the Address Prefix itself may be completely
elided from the on-wire encoding. An illustration of this may be found
in section A.4.7.

Bugzilla URL:	http://bugzilla.xorp.net/show_bug.cgi?id=1059
Submitted by:	Petr Lampa

Modified Paths:
--------------
    trunk/xorp/ospf/lsa.hh

Modified: trunk/xorp/ospf/lsa.hh
===================================================================
--- trunk/xorp/ospf/lsa.hh	2009-09-03 01:03:15 UTC (rev 11538)
+++ trunk/xorp/ospf/lsa.hh	2009-09-03 01:21:01 UTC (rev 11539)
@@ -1663,7 +1663,7 @@
 	    return 16;
 	    break;
 	case OspfTypes::V3:
-	    return 12;
+	    return 8;
 	    break;
 	}
 	XLOG_UNREACHABLE();


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.



More information about the Xorp-cvs mailing list