mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-08 07:37:29 +00:00
Merge to zebra.org CVS 20030203 16:30GMT
This commit is contained in:
parent
7d7ddde299
commit
37163d6d0c
@ -67,11 +67,12 @@ behaviors implemented in Cisco and IBM routers."
|
|||||||
|
|
||||||
@deffn {OSPF Command} {ospf rfc1583compatibility} {}
|
@deffn {OSPF Command} {ospf rfc1583compatibility} {}
|
||||||
@deffnx {OSPF Command} {no ospf rfc1583compatibility} {}
|
@deffnx {OSPF Command} {no ospf rfc1583compatibility} {}
|
||||||
This rfc2328, the sucessor to rfc1583, suggests according to section G.2
|
This rfc2328, the sucessor to rfc1583, suggests according to section
|
||||||
(changes) in section 16.4 a change to the path preference algorithm that
|
G.2 (changes) in section 16.4 a change to the path preference
|
||||||
prevents possible routing loops that were possible in the old version of
|
algorithm that prevents possible routing loops that were possible in
|
||||||
OSPFv2. More specificly it demands that inter-area paths and intra-area path
|
the old version of OSPFv2. More specifically it demands that inter-area
|
||||||
are now of equal preference but still both preferred to external paths.
|
paths and intra-area path are now of equal preference but still both
|
||||||
|
preferred to external paths.
|
||||||
@end deffn
|
@end deffn
|
||||||
|
|
||||||
@deffn {OSPF Command} {passive interface @var{interface}} {}
|
@deffn {OSPF Command} {passive interface @var{interface}} {}
|
||||||
|
@ -2617,6 +2617,8 @@ ospf_lsa_maxage_walker_remover (struct ospf_lsa *lsa, void *p_arg, int int_arg)
|
|||||||
switch (lsa->data->type)
|
switch (lsa->data->type)
|
||||||
{
|
{
|
||||||
#ifdef HAVE_OPAQUE_LSA
|
#ifdef HAVE_OPAQUE_LSA
|
||||||
|
case OSPF_OPAQUE_LINK_LSA:
|
||||||
|
case OSPF_OPAQUE_AREA_LSA:
|
||||||
case OSPF_OPAQUE_AS_LSA:
|
case OSPF_OPAQUE_AS_LSA:
|
||||||
case OSPF_OPAQUE_LINK_LSA:
|
case OSPF_OPAQUE_LINK_LSA:
|
||||||
case OSPF_OPAQUE_AREA_LSA:
|
case OSPF_OPAQUE_AREA_LSA:
|
||||||
|
@ -226,10 +226,9 @@ ospf_packet_dup (struct ospf_packet *op)
|
|||||||
{
|
{
|
||||||
struct ospf_packet *new;
|
struct ospf_packet *new;
|
||||||
|
|
||||||
if (stream_get_endp(op->s) != op->length) {
|
if (stream_get_endp(op->s) != op->length)
|
||||||
zlog_warn ("ospf_packet_dup stream %d ospf_packet %d size mismatch",
|
zlog_warn ("ospf_packet_dup stream %ld ospf_packet %d size mismatch",
|
||||||
STREAM_SIZE(op->s), op->length);
|
STREAM_SIZE(op->s), op->length);
|
||||||
}
|
|
||||||
|
|
||||||
/* Reserve space for MD5 authentication that may be added later. */
|
/* Reserve space for MD5 authentication that may be added later. */
|
||||||
new = ospf_packet_new (stream_get_endp(op->s) + OSPF_AUTH_MD5_SIZE);
|
new = ospf_packet_new (stream_get_endp(op->s) + OSPF_AUTH_MD5_SIZE);
|
||||||
@ -367,10 +366,8 @@ ospf_make_md5_digest (struct ospf_interface *oi, struct ospf_packet *op)
|
|||||||
/* We do *NOT* increment the OSPF header length. */
|
/* We do *NOT* increment the OSPF header length. */
|
||||||
op->length = ntohs (ospfh->length) + OSPF_AUTH_MD5_SIZE;
|
op->length = ntohs (ospfh->length) + OSPF_AUTH_MD5_SIZE;
|
||||||
|
|
||||||
if (stream_get_endp(op->s) != op->length) {
|
if (stream_get_endp(op->s) != op->length)
|
||||||
zlog_warn("ospf_make_md5_digest: length mismatch stream %d ospf_packet %d",
|
zlog_warn("ospf_make_md5_digest: length mismatch stream %ld ospf_packet %d", stream_get_endp(op->s), op->length);
|
||||||
stream_get_endp(op->s), op->length);
|
|
||||||
}
|
|
||||||
|
|
||||||
return OSPF_AUTH_MD5_SIZE;
|
return OSPF_AUTH_MD5_SIZE;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user