[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

rpms/mtr/devel mtr-0.71-ipv6-resolvehostname.patch, NONE, 1.1 mtr.spec, 1.36, 1.37



Author: mmaslano

Update of /cvs/dist/rpms/mtr/devel
In directory cvs.devel.redhat.com:/tmp/cvs-serv14624

Modified Files:
	mtr.spec 
Added Files:
	mtr-0.71-ipv6-resolvehostname.patch 
Log Message:
--- 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;



mtr-0.71-ipv6-resolvehostname.patch:
 dns.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

--- NEW FILE mtr-0.71-ipv6-resolvehostname.patch ---
--- 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;
 


Index: mtr.spec
===================================================================
RCS file: /cvs/dist/rpms/mtr/devel/mtr.spec,v
retrieving revision 1.36
retrieving revision 1.37
diff -u -r1.36 -r1.37
--- mtr.spec	30 May 2006 08:47:56 -0000	1.36
+++ mtr.spec	3 Jul 2006 06:31:07 -0000	1.37
@@ -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 @@
 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 @@
 %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 @@
 %{_datadir}/pixmaps/mtr_icon.xpm
 
 %changelog
+* Mon Jul 3 2006 Marcela Maslanova <mmaslano redhat com> - 2:0.71-3
+- bugzilla #195458 – reverse-map bug in mtr and patch - resolving ipv6 hostname correctly
+
 * Tue May 30 2006 Marcela Maslanova <mmaslano redhat com> - 2:0.71-2
 - underflow solved
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]