summaryrefslogtreecommitdiff
path: root/net-mgmt/argus
diff options
context:
space:
mode:
authorStefan Eßer <se@FreeBSD.org>2001-04-08 17:33:49 +0000
committerStefan Eßer <se@FreeBSD.org>2001-04-08 17:33:49 +0000
commit2a4e8e116a4a3e8830e9987fa3f7580cdc7cb895 (patch)
treeab58f09cfaafd226f5a7fb90f6cd504655359030 /net-mgmt/argus
parentUpgrade to Argus-2.0.0. (diff)
Fix handling of VLAN packets.
Initialize a few variables to 0.
Notes
Notes: svn path=/head/; revision=41075
Diffstat (limited to 'net-mgmt/argus')
-rw-r--r--net-mgmt/argus/files/patch-ab16
1 files changed, 16 insertions, 0 deletions
diff --git a/net-mgmt/argus/files/patch-ab b/net-mgmt/argus/files/patch-ab
new file mode 100644
index 000000000000..58befc429804
--- /dev/null
+++ b/net-mgmt/argus/files/patch-ab
@@ -0,0 +1,16 @@
+--- server/ArgusModeler.c~ Fri Mar 9 16:47:00 2001
++++ server/ArgusModeler.c Fri Apr 6 17:08:28 2001
+@@ -694,5 +694,5 @@
+ if ((vlan = (struct ArgusVlanStruct *) ArgusCalloc (1, sizeof(struct ArgusVlanStruct))) != NULL) {
+ vlan->type = ARGUS_VLAN_DSR;
+- vlan->length = sizeof(vlan);
++ vlan->length = sizeof(*vlan);
+ flowstr->VlanDSRBuffer = vlan;
+ }
+@@ -1510,4 +1510,6 @@
+ #endif
+
++ bzero ((char *)ArgusThisFlow, sizeof(*ArgusThisFlow));
++ ArgusThisHash = 0;
+ ArgusThisIpHdr = ip;
+