Hi,

Debian Bug Tracking System wrote:
> Thank you for filing a new Bug report with Debian.
> 
> This is an automatically generated reply to let you know your message
> has been received.
> 
> Your message is being forwarded to the package maintainers and other
> interested parties for their attention; they will reply in due course.
> 
> Your message has been sent to the package maintainer(s):
>  [EMAIL PROTECTED] (Laurence J. Lane)
and here the actual patch.

Best regards,
Bernhard
--- iptables-1.4.1.1/extensions/libxt_conntrack.c	2008-06-16 15:12:40.000000000 +0200
+++ iptables-1.4.1.1.modified/extensions/libxt_conntrack.c	2008-10-17 18:33:39.000000000 +0200
@@ -761,14 +761,20 @@
 			printf("anywhere ");
 			return;
 		}
-		printf("%s ", ipaddr_to_anyname(&addr->in));
+		if (numeric)
+		  printf("%s ", ipaddr_to_numeric(&addr->in));
+		else
+		  printf("%s ", ipaddr_to_anyname(&addr->in));
 	} else if (family == AF_INET6) {
 		if (!numeric && addr->ip6[0] == 0 && addr->ip6[1] == 0 &&
 		    addr->ip6[2] == 0 && addr->ip6[3] == 0) {
 			printf("anywhere ");
 			return;
 		}
-		printf("%s ", ip6addr_to_anyname(&addr->in6));
+		if (numeric)
+		  printf("%s ", ip6addr_to_numeric(&addr->in6));
+		else
+		  printf("%s ", ip6addr_to_anyname(&addr->in6));
 	}
 }
 

Reply via email to