aboutsummaryrefslogtreecommitdiff
path: root/net/zebra
diff options
context:
space:
mode:
authorMunechika SUMIKAWA <sumikawa@FreeBSD.org>2003-11-20 22:52:16 +0000
committerMunechika SUMIKAWA <sumikawa@FreeBSD.org>2003-11-20 22:52:16 +0000
commit34da72d3dcd95cf01130dc4a1d46a50645599349 (patch)
treef82a43fb1d891b61c051f6e55322b90b6006bf56 /net/zebra
parent00b3ef18a3d35fd7261876851e54d475536b2aef (diff)
downloadports-34da72d3dcd95cf01130dc4a1d46a50645599349.tar.gz
ports-34da72d3dcd95cf01130dc4a1d46a50645599349.zip
Notes
Diffstat (limited to 'net/zebra')
-rw-r--r--net/zebra/Makefile2
-rw-r--r--net/zebra/files/patch-remote_dos23
2 files changed, 24 insertions, 1 deletions
diff --git a/net/zebra/Makefile b/net/zebra/Makefile
index 755bc86a1777..ccdd83be4500 100644
--- a/net/zebra/Makefile
+++ b/net/zebra/Makefile
@@ -7,7 +7,7 @@
PORTNAME= zebra
PORTVERSION= 0.93b
-PORTREVISION= 6
+PORTREVISION= 7
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-remote_dos b/net/zebra/files/patch-remote_dos
new file mode 100644
index 000000000000..ad34a751beea
--- /dev/null
+++ b/net/zebra/files/patch-remote_dos
@@ -0,0 +1,23 @@
+--- lib/vty.c.orig Sun Aug 18 15:49:50 2002
++++ lib/vty.c Thu Nov 20 22:17:46 2003
+@@ -1138,13 +1138,16 @@
+ break;
+ case SE:
+ {
+- char *buffer = (char *)vty->sb_buffer->head->data;
+- int length = vty->sb_buffer->length;
++ char *buffer;
++ int length;
+
+- if (buffer == NULL)
++ if (!vty->iac_sb_in_progress)
+ return 0;
+
+- if (!vty->iac_sb_in_progress)
++ buffer = (char *)vty->sb_buffer->head->data;
++ length = vty->sb_buffer->length;
++
++ if (buffer == NULL)
+ return 0;
+
+ if (buffer[0] == '\0')