diff options
author | sumikawa <sumikawa@FreeBSD.org> | 2003-03-28 08:16:56 +0800 |
---|---|---|
committer | sumikawa <sumikawa@FreeBSD.org> | 2003-03-28 08:16:56 +0800 |
commit | 83a2ba1fb82ef5c55f1926f6b19d7e3126d3709b (patch) | |
tree | ebbfb8f6aa5092564823ba1da3e73c70786f53e6 /net | |
parent | 9fd46c76a7081d112d192a7b93f8119940b532ee (diff) | |
download | freebsd-ports-graphics-83a2ba1fb82ef5c55f1926f6b19d7e3126d3709b.tar.gz freebsd-ports-graphics-83a2ba1fb82ef5c55f1926f6b19d7e3126d3709b.tar.zst freebsd-ports-graphics-83a2ba1fb82ef5c55f1926f6b19d7e3126d3709b.zip |
Fix the ospfd MD5 authentication problem.
Submitted by: Kevin Schmidt <kps@ucsb.edu>
Diffstat (limited to 'net')
-rw-r--r-- | net/zebra-devel/Makefile | 2 | ||||
-rw-r--r-- | net/zebra-devel/files/patch-ospfd_packet.c | 11 | ||||
-rw-r--r-- | net/zebra-pj/Makefile | 2 | ||||
-rw-r--r-- | net/zebra-pj/files/patch-ospfd_packet.c | 11 | ||||
-rw-r--r-- | net/zebra/Makefile | 2 | ||||
-rw-r--r-- | net/zebra/files/patch-ospfd_packet.c | 11 |
6 files changed, 36 insertions, 3 deletions
diff --git a/net/zebra-devel/Makefile b/net/zebra-devel/Makefile index 13d5e4787c1..b5fc2c0e79b 100644 --- a/net/zebra-devel/Makefile +++ b/net/zebra-devel/Makefile @@ -7,7 +7,7 @@ PORTNAME= zebra PORTVERSION= 0.93b -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= net ipv6 MASTER_SITES= ftp://ftp.zebra.org/pub/zebra/ \ ftp://ftp.ripe.net/mirrors/sites/ftp.zebra.org/pub/zebra/ \ diff --git a/net/zebra-devel/files/patch-ospfd_packet.c b/net/zebra-devel/files/patch-ospfd_packet.c new file mode 100644 index 00000000000..cb387287206 --- /dev/null +++ b/net/zebra-devel/files/patch-ospfd_packet.c @@ -0,0 +1,11 @@ +--- ospfd/ospf_packet.c.orig Thu Jul 4 05:06:41 2002 ++++ ospfd/ospf_packet.c Fri Mar 28 00:05:26 2003 +@@ -276,7 +276,7 @@ + + /* check crypto seqnum. */ + nbr = ospf_nbr_lookup_by_routerid (oi->nbrs, &ospfh->router_id); +- if (nbr && ntohl(nbr->crypt_seqnum) >= ntohl(ospfh->u.crypt.crypt_seqnum)) ++ if (nbr && ntohl(nbr->crypt_seqnum) > ntohl(ospfh->u.crypt.crypt_seqnum)) + return 0; + + /* Generate a digest for the ospf packet - their digest + our digest. */ diff --git a/net/zebra-pj/Makefile b/net/zebra-pj/Makefile index 13d5e4787c1..b5fc2c0e79b 100644 --- a/net/zebra-pj/Makefile +++ b/net/zebra-pj/Makefile @@ -7,7 +7,7 @@ PORTNAME= zebra PORTVERSION= 0.93b -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= net ipv6 MASTER_SITES= ftp://ftp.zebra.org/pub/zebra/ \ ftp://ftp.ripe.net/mirrors/sites/ftp.zebra.org/pub/zebra/ \ diff --git a/net/zebra-pj/files/patch-ospfd_packet.c b/net/zebra-pj/files/patch-ospfd_packet.c new file mode 100644 index 00000000000..cb387287206 --- /dev/null +++ b/net/zebra-pj/files/patch-ospfd_packet.c @@ -0,0 +1,11 @@ +--- ospfd/ospf_packet.c.orig Thu Jul 4 05:06:41 2002 ++++ ospfd/ospf_packet.c Fri Mar 28 00:05:26 2003 +@@ -276,7 +276,7 @@ + + /* check crypto seqnum. */ + nbr = ospf_nbr_lookup_by_routerid (oi->nbrs, &ospfh->router_id); +- if (nbr && ntohl(nbr->crypt_seqnum) >= ntohl(ospfh->u.crypt.crypt_seqnum)) ++ if (nbr && ntohl(nbr->crypt_seqnum) > ntohl(ospfh->u.crypt.crypt_seqnum)) + return 0; + + /* Generate a digest for the ospf packet - their digest + our digest. */ diff --git a/net/zebra/Makefile b/net/zebra/Makefile index 13d5e4787c1..b5fc2c0e79b 100644 --- a/net/zebra/Makefile +++ b/net/zebra/Makefile @@ -7,7 +7,7 @@ PORTNAME= zebra PORTVERSION= 0.93b -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= net ipv6 MASTER_SITES= ftp://ftp.zebra.org/pub/zebra/ \ ftp://ftp.ripe.net/mirrors/sites/ftp.zebra.org/pub/zebra/ \ diff --git a/net/zebra/files/patch-ospfd_packet.c b/net/zebra/files/patch-ospfd_packet.c new file mode 100644 index 00000000000..cb387287206 --- /dev/null +++ b/net/zebra/files/patch-ospfd_packet.c @@ -0,0 +1,11 @@ +--- ospfd/ospf_packet.c.orig Thu Jul 4 05:06:41 2002 ++++ ospfd/ospf_packet.c Fri Mar 28 00:05:26 2003 +@@ -276,7 +276,7 @@ + + /* check crypto seqnum. */ + nbr = ospf_nbr_lookup_by_routerid (oi->nbrs, &ospfh->router_id); +- if (nbr && ntohl(nbr->crypt_seqnum) >= ntohl(ospfh->u.crypt.crypt_seqnum)) ++ if (nbr && ntohl(nbr->crypt_seqnum) > ntohl(ospfh->u.crypt.crypt_seqnum)) + return 0; + + /* Generate a digest for the ospf packet - their digest + our digest. */ |