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/zebra-devel | |
parent | 9fd46c76a7081d112d192a7b93f8119940b532ee (diff) | |
download | freebsd-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-devel')
-rw-r--r-- | net/zebra-devel/Makefile | 2 | ||||
-rw-r--r-- | net/zebra-devel/files/patch-ospfd_packet.c | 11 |
2 files changed, 12 insertions, 1 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. */ |