From 1e86198c1b79e704bab9278f45948492933c8819 Mon Sep 17 00:00:00 2001 From: Marcela Mašláňová Date: Jul 03 2006 06:31:07 +0000 Subject: --- mtr-0.71/dns.c.mar 2006-07-03 07:53:28.000000000 +0200 mtr-0.71/dns.c 2006-07-03 07:52:26.000000000 +0200 @@ -1357,7 +1357,7 @@ #ifdef ENABLE_IPV6 /* Returns an ip6.arpa character string. */ void addr2ip6arpa( ip_t * ip, char * buf ) { - char * p = (char *) ip; unsigned char * p = (unsigned char *) ip; char * b = buf; int i; --- diff --git a/mtr-0.71-ipv6-resolvehostname.patch b/mtr-0.71-ipv6-resolvehostname.patch new file mode 100644 index 0000000..cf46e32 --- /dev/null +++ b/mtr-0.71-ipv6-resolvehostname.patch @@ -0,0 +1,11 @@ +--- mtr-0.71/dns.c.mar 2006-07-03 07:53:28.000000000 +0200 ++++ mtr-0.71/dns.c 2006-07-03 07:52:26.000000000 +0200 +@@ -1357,7 +1357,7 @@ + #ifdef ENABLE_IPV6 + /* Returns an ip6.arpa character string. */ + void addr2ip6arpa( ip_t * ip, char * buf ) { +- char * p = (char *) ip; ++ unsigned char * p = (unsigned char *) ip; + char * b = buf; + int i; + diff --git a/mtr.spec b/mtr.spec index 376c005..1f8d934 100644 --- a/mtr.spec +++ b/mtr.spec @@ -1,7 +1,7 @@ Summary: A network diagnostic tool. Name: mtr Version: 0.71 -Release: 2 +Release: 3 Epoch: 2 Group: Applications/Internet License: GPL @@ -12,6 +12,7 @@ Source2: xmtr.pam Patch1: mtr-0.69-CVE-2002-0497.patch Patch2: mtr-0.69-format.patch Patch3: mtr-0.71-underflow.patch +Patch4: mtr-0.71-ipv6-resolvehostname.patch BuildRequires: ncurses-devel gtk2-devel Buildroot: %{_tmppath}/%{name}-%{version}-root @@ -37,6 +38,7 @@ diagnostic tool. %patch1 -p1 -b .CVE-2002-0497 %patch2 -p1 -b .format %patch3 -p1 -b .underflow +%patch4 -p1 -b .resolvehostname %build %configure --enable-gtk2 @@ -93,6 +95,9 @@ rm -rf $RPM_BUILD_ROOT %{_datadir}/pixmaps/mtr_icon.xpm %changelog +* Mon Jul 3 2006 Marcela Maslanova - 2:0.71-3 +- bugzilla #195458 – reverse-map bug in mtr and patch - resolving ipv6 hostname correctly + * Tue May 30 2006 Marcela Maslanova - 2:0.71-2 - underflow solved