summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorMunechika SUMIKAWA <sumikawa@FreeBSD.org>2003-03-28 00:16:56 +0000
committerMunechika SUMIKAWA <sumikawa@FreeBSD.org>2003-03-28 00:16:56 +0000
commit4f6099ad495266ae93a8c7d93bd0b9126ef2d7e3 (patch)
tree338bb0efb50c29d6d11ef843adfcf4510d8c3289 /net
parentUse autoconf version > 2.5 to fix compile on CURRENT. (diff)
Fix the ospfd MD5 authentication problem.
Submitted by: Kevin Schmidt <kps@ucsb.edu>
Notes
Notes: svn path=/head/; revision=77564
Diffstat (limited to 'net')
-rw-r--r--net/zebra-devel/Makefile2
-rw-r--r--net/zebra-devel/files/patch-ospfd_packet.c11
-rw-r--r--net/zebra-pj/Makefile2
-rw-r--r--net/zebra-pj/files/patch-ospfd_packet.c11
-rw-r--r--net/zebra/Makefile2
-rw-r--r--net/zebra/files/patch-ospfd_packet.c11
6 files changed, 36 insertions, 3 deletions
diff --git a/net/zebra-devel/Makefile b/net/zebra-devel/Makefile
index 13d5e4787c14..b5fc2c0e79bc 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 000000000000..cb3872872064
--- /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 13d5e4787c14..b5fc2c0e79bc 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 000000000000..cb3872872064
--- /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 13d5e4787c14..b5fc2c0e79bc 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 000000000000..cb3872872064
--- /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. */