diff options
author | sem <sem@FreeBSD.org> | 2007-02-01 21:25:05 +0800 |
---|---|---|
committer | sem <sem@FreeBSD.org> | 2007-02-01 21:25:05 +0800 |
commit | 306f78934fedce6354ff61252ee3038769909fc3 (patch) | |
tree | 84eb970abf4e6eddf04d8622e84c4c3f58bd840c /net/quagga | |
parent | 8c95a248c78799fe88a88c7f2edff4154506539a (diff) | |
download | freebsd-ports-gnome-306f78934fedce6354ff61252ee3038769909fc3.tar.gz freebsd-ports-gnome-306f78934fedce6354ff61252ee3038769909fc3.tar.zst freebsd-ports-gnome-306f78934fedce6354ff61252ee3038769909fc3.zip |
- Add a sanity check when ripd takes metric from RTM_NEWADDR message.
- Bump PORTREVISION.
PR: ports/108430
Submitted by: Eugene Grosbein <eugen_AT_grosbein.pp.ru>
Approved by: maintainer
Diffstat (limited to 'net/quagga')
-rw-r--r-- | net/quagga/Makefile | 1 | ||||
-rw-r--r-- | net/quagga/files/patch-zebra-kernel_socket.c | 12 |
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)) |