9599f2c
diff -Nur hping3-20051105-orig/getifname.c hping3-20051105/getifname.c
9599f2c
--- hping2-rc3-orig/getifname.c	2004-05-03 10:55:53.000000000 +0200
9599f2c
+++ hping2-rc3/getifname.c	2005-07-26 18:23:34.000000000 +0200
9599f2c
@@ -60,7 +60,7 @@
9599f2c
 			known_output_if = 1;
9599f2c
 			if (opt_debug)
9599f2c
 				printf("DEBUG: Output interface address: %s\n",
9599f2c
-					inet_ntoa(sa.sin_addr));
9599f2c
+					inet_ntoa(output_if_addr.sin_addr));
9599f2c
 		} else {
9599f2c
 			fprintf(stderr, "Warning: Unable to guess the output "
9599f2c
 					"interface\n");