summaryrefslogtreecommitdiffstats
path: root/proto/ospf/ospf.h
diff options
context:
space:
mode:
authorOndrej Zajicek <santiago@crfreenet.org>2010-11-04 17:22:43 +0100
committerOndrej Zajicek <santiago@crfreenet.org>2010-11-04 17:22:43 +0100
commitd5356072ac18d5b0eb12f14afca6bfbea702dda2 (patch)
tree3013ad55e7750ede3fdcae459a2fb1b72b60614a /proto/ospf/ospf.h
parentd3209d939d4d0d8801432f212edd4302a7d03633 (diff)
downloadbird-d5356072ac18d5b0eb12f14afca6bfbea702dda2.tar
bird-d5356072ac18d5b0eb12f14afca6bfbea702dda2.zip
Fixes a bug in LSA update of large LSAs.
Diffstat (limited to 'proto/ospf/ospf.h')
-rw-r--r--proto/ospf/ospf.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/proto/ospf/ospf.h b/proto/ospf/ospf.h
index 103ca55..1ae83c1 100644
--- a/proto/ospf/ospf.h
+++ b/proto/ospf/ospf.h
@@ -10,7 +10,6 @@
#define _BIRD_OSPF_H_
#define MAXNETS 10
-#define OSPF_VLINK_MTU 576 /* RFC2328 - A.1 */
#define OSPF_MAX_PKT_SIZE 65536
/*
* RFC 2328 says, maximum packet size is 65535
@@ -53,11 +52,13 @@ do { if ((p->debug & D_PACKETS) || OSPF_FORCE_DEBUG) \
#ifndef IPV6
#define OSPFv2 1
#define OSPF_VERSION 2
+#define OSPF_VLINK_MTU 576 /* RFC 2328 A.1 */
#define AllSPFRouters ipa_from_u32(0xe0000005) /* 224.0.0.5 */
#define AllDRouters ipa_from_u32(0xe0000006) /* 224.0.0.6 */
#else
#define OSPFv3 1
#define OSPF_VERSION 3
+#define OSPF_VLINK_MTU 1280 /* RFC 5340 A.1 */
#define AllSPFRouters _MI(0xFF020000, 0, 0, 5) /* FF02::5 */
#define AllDRouters _MI(0xFF020000, 0, 0, 6) /* FF02::6 */
#endif