summaryrefslogtreecommitdiff
path: root/net/sniffit/files/patch-sn_structs.h
diff options
context:
space:
mode:
authorStefan Eßer <se@FreeBSD.org>2020-09-24 07:15:21 +0000
committerStefan Eßer <se@FreeBSD.org>2020-09-24 07:15:21 +0000
commite960e9c633533589c661e1753747b046a8c2cd66 (patch)
tree8bb2a00d69dd3504fe87c7b2f97b36fd3af86f15 /net/sniffit/files/patch-sn_structs.h
parent- Update to 4.5 (diff)
Fix and update broken port
This is ancient software that has been made available and somewhat updated on GitHub. The previous port was broken and with this update it should at least have a chance to compile. Testing on amd64 gave reasonable results, much to my surprise, since I had doubt that the code is 64 bit safe. The programming style is strange, with C files being concatenated by #including them into the main program. This is definitely a unique piece of software ... (might serve as an dissuasive example). Since this program has to be run with root privileges and may well have security weaknesses, I'm not convinced that we should even provide a port and package. But I'm committing this update anyway, leaving to somebody else the decision to remove it from ports, if considered too much of an annoyance or risk.
Notes
Notes: svn path=/head/; revision=549892
Diffstat (limited to 'net/sniffit/files/patch-sn_structs.h')
-rw-r--r--net/sniffit/files/patch-sn_structs.h11
1 files changed, 0 insertions, 11 deletions
diff --git a/net/sniffit/files/patch-sn_structs.h b/net/sniffit/files/patch-sn_structs.h
deleted file mode 100644
index 6d0f47632a22..000000000000
--- a/net/sniffit/files/patch-sn_structs.h
+++ /dev/null
@@ -1,11 +0,0 @@
---- sn_structs.h.orig Sat Aug 16 09:12:03 2003
-+++ sn_structs.h Sat Aug 16 09:12:17 2003
-@@ -67,7 +67,7 @@
- struct snif_mask /* struct for mask */
- {
- _32_bit source_ip, destination_ip;
-- _32_bit short source_port, destination_port;
-+ _32_bit source_port, destination_port;
- };
-
- /* (packet generation) */