aboutsummaryrefslogtreecommitdiff
path: root/net/quagga
diff options
context:
space:
mode:
authorSergey Matveychuk <sem@FreeBSD.org>2007-02-01 13:25:05 +0000
committerSergey Matveychuk <sem@FreeBSD.org>2007-02-01 13:25:05 +0000
commit7f706ac97d266ec470dbb9fcaeb5f27fd937e21d (patch)
tree71f4ba7d53d7c55c4e63bf2bf08cf288328cbf1a /net/quagga
parentf1c68d938ae9a6cea3e7cd6adc4a4561e7697b36 (diff)
Notes
Diffstat (limited to 'net/quagga')
-rw-r--r--net/quagga/Makefile1
-rw-r--r--net/quagga/files/patch-zebra-kernel_socket.c12
2 files changed, 13 insertions, 0 deletions
diff --git a/net/quagga/Makefile b/net/quagga/Makefile
index 8645e8d00109..467a639f173f 100644
--- a/net/quagga/Makefile
+++ b/net/quagga/Makefile
@@ -7,6 +7,7 @@
PORTNAME= quagga
PORTVERSION= 0.99.6
+PORTREVISION= 1
CATEGORIES= net ipv6
MASTER_SITES= http://quagga.net/download/ \
http://www.ru.quagga.net/download/ \
diff --git a/net/quagga/files/patch-zebra-kernel_socket.c b/net/quagga/files/patch-zebra-kernel_socket.c
new file mode 100644
index 000000000000..c6facc5d14e5
--- /dev/null
+++ b/net/quagga/files/patch-zebra-kernel_socket.c
@@ -0,0 +1,12 @@
+--- zebra/kernel_socket.c.orig Thu Sep 14 06:47:11 2006
++++ zebra/kernel_socket.c Thu Feb 1 16:16:35 2007
+@@ -585,7 +585,8 @@
+ if (ifnlen && strncmp (ifp->name, ifname, INTERFACE_NAMSIZ))
+ isalias = 1;
+
+- ifp->metric = ifam->ifam_metric;
++ if (ifam->ifam_metric)
++ ifp->metric = ifam->ifam_metric;
+
+ /* Add connected address. */
+ switch (sockunion_family (&addr))