diff options
author | se <se@FreeBSD.org> | 2001-04-09 01:33:49 +0800 |
---|---|---|
committer | se <se@FreeBSD.org> | 2001-04-09 01:33:49 +0800 |
commit | 828dc5659a535ca16dd7f459ed2d0f02078e38af (patch) | |
tree | 694c4da4ab3293df860dc9aaa927d554dcacd9fe /net-mgmt/argus/files | |
parent | 1427f4c9e2ff5d8b3b0ee5b16783e1a6c7eca177 (diff) | |
download | freebsd-ports-graphics-828dc5659a535ca16dd7f459ed2d0f02078e38af.tar.gz freebsd-ports-graphics-828dc5659a535ca16dd7f459ed2d0f02078e38af.tar.zst freebsd-ports-graphics-828dc5659a535ca16dd7f459ed2d0f02078e38af.zip |
Fix handling of VLAN packets.
Initialize a few variables to 0.
Diffstat (limited to 'net-mgmt/argus/files')
-rw-r--r-- | net-mgmt/argus/files/patch-ab | 16 |
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 00000000000..58befc42980 --- /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; + |