summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Januszewski <spock@gentoo.org>2006-09-15 15:27:37 +0000
committerMichael Januszewski <spock@gentoo.org>2006-09-15 15:27:37 +0000
commit01bd328eb154677ae919bbe7903e19710acd84d0 (patch)
tree62a1e0ef5f4e07e881fe43f9ae4d67ffbc9855cd /net-analyzer/gspoof/files
parentversion bump (diff)
downloadhistorical-01bd328eb154677ae919bbe7903e19710acd84d0.tar.gz
historical-01bd328eb154677ae919bbe7903e19710acd84d0.tar.bz2
historical-01bd328eb154677ae919bbe7903e19710acd84d0.zip
Fixed bug #143906.
Package-Manager: portage-2.1.1
Diffstat (limited to 'net-analyzer/gspoof/files')
-rw-r--r--net-analyzer/gspoof/files/digest-gspoof-3.22
-rw-r--r--net-analyzer/gspoof/files/gspoof-def-values.patch29
2 files changed, 31 insertions, 0 deletions
diff --git a/net-analyzer/gspoof/files/digest-gspoof-3.2 b/net-analyzer/gspoof/files/digest-gspoof-3.2
index c8104a804d8d..f7c641c2b88c 100644
--- a/net-analyzer/gspoof/files/digest-gspoof-3.2
+++ b/net-analyzer/gspoof/files/digest-gspoof-3.2
@@ -1 +1,3 @@
MD5 7a1d124a1d0bed87e19b239d559ba880 gspoof-3.2.tar.gz 69340
+RMD160 2030e4b99d5191ae9dadec617eec2ae73b021775 gspoof-3.2.tar.gz 69340
+SHA256 65f12bf8ca23d3fa6af0cedda4fb6c28c955a909e1787bd5dda14404a0280019 gspoof-3.2.tar.gz 69340
diff --git a/net-analyzer/gspoof/files/gspoof-def-values.patch b/net-analyzer/gspoof/files/gspoof-def-values.patch
new file mode 100644
index 000000000000..442f8e821b01
--- /dev/null
+++ b/net-analyzer/gspoof/files/gspoof-def-values.patch
@@ -0,0 +1,29 @@
+diff -Naurp gspoof-3.2-orig/gfuncts.c gspoof-3.2/gfuncts.c
+--- gspoof-3.2-orig/gfuncts.c 2006-09-15 16:39:59.000000000 +0200
++++ gspoof-3.2/gfuncts.c 2006-09-15 17:20:49.000000000 +0200
+@@ -47,12 +47,6 @@ int RestoreDefault()
+ struct libnet_ether_addr *ethaddr; /* eth address */
+ libnet_t *l;
+
+- /* put default value */
+- bzero (&f, 6);
+- bzero (&ck, 2);
+- memset (data, '\0', 128);
+- memset (device, '\0', 10);
+-
+ /* loading libnet core */
+ if ((l=libnet_init(LIBNET_LINK, NULL, ebuf))==NULL)
+ {
+@@ -126,6 +120,12 @@ int RestoreDefault()
+ gtk_entry_set_text (GTK_ENTRY (win_entry), "32767");
+ gtk_entry_set_text(GTK_ENTRY (urg_entry), ltostr(urgp));
+
++ /* put default value */
++ bzero (&f, sizeof(f));
++ bzero (&ck, sizeof(ck));
++ memset (data, '\0', 128);
++ memset (device, '\0', 10);
++
+ /* Set default variable values */
+ f.syn=1;
+ m.number=10;