public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in net-analyzer/httping/files: httping-1.5.1-bind.patch
@ 2011-08-03 11:27 Peter Volkov (pva)
  0 siblings, 0 replies; 2+ messages in thread
From: Peter Volkov (pva) @ 2011-08-03 11:27 UTC (permalink / raw
  To: gentoo-commits

pva         11/08/03 11:27:32

  Added:                httping-1.5.1-bind.patch
  Log:
  Fix bind option, bug 367537 wrt Denys and Folkert van Heusden.
  
  (Portage version: 2.1.10.7/cvs/Linux x86_64)

Revision  Changes    Path
1.1                  net-analyzer/httping/files/httping-1.5.1-bind.patch

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/httping/files/httping-1.5.1-bind.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/httping/files/httping-1.5.1-bind.patch?rev=1.1&content-type=text/plain

Index: httping-1.5.1-bind.patch
===================================================================
Patch from upstream developer Folkert van Heusden, to fix bind (-y) issue.
https://bugs.gentoo.org/show_bug.cgi?id=367537

--- httping-1.5.1/main.c	2011-07-27 23:33:34.000000000 +0400
+++ httping-1.5.1/main.c	2011-08-01 09:30:11.000000000 +0400
@@ -350,6 +350,7 @@
 					{
 						bind_to = (struct sockaddr_in *)&bind_to_6;
 						memset(&bind_to_6, 0x00, sizeof(bind_to_6));
+						bind_to_6.sin6_family = AF_INET6;
 
 						if (inet_pton(AF_INET6, optarg, &(bind_to_6.sin6_addr)) != 1)
 						{
@@ -360,6 +361,7 @@
 					{
 						bind_to = (struct sockaddr_in *)&bind_to_4;
 						memset(&bind_to_4, 0x00, sizeof(bind_to_4));
+						bind_to_4.sin_family = AF_INET;
 
 						if (inet_pton(AF_INET, optarg, &(bind_to_4.sin_addr)) != 1)
 						{






^ permalink raw reply	[flat|nested] 2+ messages in thread

* [gentoo-commits] gentoo-x86 commit in net-analyzer/httping/files: httping-1.5.1-bind.patch
@ 2011-08-03 22:32 Peter Volkov (pva)
  0 siblings, 0 replies; 2+ messages in thread
From: Peter Volkov (pva) @ 2011-08-03 22:32 UTC (permalink / raw
  To: gentoo-commits

pva         11/08/03 22:32:00

  Removed:              httping-1.5.1-bind.patch
  Log:
  Version bump.
  
  (Portage version: 2.1.10.10/cvs/Linux x86_64)



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-08-03 22:32 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-08-03 11:27 [gentoo-commits] gentoo-x86 commit in net-analyzer/httping/files: httping-1.5.1-bind.patch Peter Volkov (pva)
  -- strict thread matches above, loose matches on Subject: below --
2011-08-03 22:32 Peter Volkov (pva)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox