aboutsummaryrefslogtreecommitdiffstats
path: root/net/zebra/files
diff options
context:
space:
mode:
authorsumikawa <sumikawa@FreeBSD.org>2003-03-28 08:16:56 +0800
committersumikawa <sumikawa@FreeBSD.org>2003-03-28 08:16:56 +0800
commit83a2ba1fb82ef5c55f1926f6b19d7e3126d3709b (patch)
treeebbfb8f6aa5092564823ba1da3e73c70786f53e6 /net/zebra/files
parent9fd46c76a7081d112d192a7b93f8119940b532ee (diff)
downloadfreebsd-ports-gnome-83a2ba1fb82ef5c55f1926f6b19d7e3126d3709b.tar.gz
freebsd-ports-gnome-83a2ba1fb82ef5c55f1926f6b19d7e3126d3709b.tar.zst
freebsd-ports-gnome-83a2ba1fb82ef5c55f1926f6b19d7e3126d3709b.zip
Fix the ospfd MD5 authentication problem.
Submitted by: Kevin Schmidt <kps@ucsb.edu>
Diffstat (limited to 'net/zebra/files')
-rw-r--r--net/zebra/files/patch-ospfd_packet.c11
1 files changed, 11 insertions, 0 deletions
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. */