diff options
author | Stefan Eßer <se@FreeBSD.org> | 2001-04-08 17:33:49 +0000 |
---|---|---|
committer | Stefan Eßer <se@FreeBSD.org> | 2001-04-08 17:33:49 +0000 |
commit | 2a4e8e116a4a3e8830e9987fa3f7580cdc7cb895 (patch) | |
tree | ab58f09cfaafd226f5a7fb90f6cd504655359030 /net/argus | |
parent | Upgrade 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/argus')
-rw-r--r-- | net/argus/files/patch-ab | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/net/argus/files/patch-ab b/net/argus/files/patch-ab new file mode 100644 index 000000000000..58befc429804 --- /dev/null +++ b/net/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; + |