Fixes a typo (in OSPF_MAX_PKT_SIZE value).

And updates a comment.
This commit is contained in:
Ondrej Zajicek 2010-11-13 14:19:55 +01:00
parent d9e7e1b13d
commit 79f561a173

View file

@ -10,13 +10,15 @@
#define _BIRD_OSPF_H_ #define _BIRD_OSPF_H_
#define MAXNETS 10 #define MAXNETS 10
#define OSPF_MAX_PKT_SIZE 65536 #define OSPF_MAX_PKT_SIZE 65535
/* /*
* RFC 2328 says, maximum packet size is 65535 * RFC 2328 says, maximum packet size is 65535 (IP packet size
* This could be too much for small systems, so I * limit). Really a bit less for OSPF, because this contains also IP
* normally allocate 2*mtu - (I found one cisco * header. This could be too much for small systems, so I normally
* sending packets mtu+16) * allocate 2*mtu (i found one cisco sending packets mtu+16). OSPF
*/ * packets are almost always sent small enough to not be fragmented.
*/
#ifdef LOCAL_DEBUG #ifdef LOCAL_DEBUG
#define OSPF_FORCE_DEBUG 1 #define OSPF_FORCE_DEBUG 1
#else #else