diff options
author | Guy Harris <guy@alum.mit.edu> | 2003-07-19 02:11:34 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2003-07-19 02:11:34 +0000 |
commit | 9fcb7601ee8a764577fc17a3302989ed92469293 (patch) | |
tree | 6953ca2ec4a6565a6fc7cecbcae046da8f9d587a /plugins/docsis/packet-vendor.c | |
parent | 07e49022d4fc4e06961d7dbf3df9fd9b90bd19bf (diff) | |
download | wireshark-9fcb7601ee8a764577fc17a3302989ed92469293.tar.gz wireshark-9fcb7601ee8a764577fc17a3302989ed92469293.tar.bz2 wireshark-9fcb7601ee8a764577fc17a3302989ed92469293.zip |
Get rid of check for a null "docsis_vsif_handle" - "dissector_add()"
should blow up when handed a null pointer on all platforms that map low
addresses out of the address space, which is most if not all of them at
this point, and calls to "assert()" cause problems if you mix
GCC-compiled and Sun-C-compiled code.
svn path=/trunk/; revision=8047
Diffstat (limited to 'plugins/docsis/packet-vendor.c')
-rw-r--r-- | plugins/docsis/packet-vendor.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/plugins/docsis/packet-vendor.c b/plugins/docsis/packet-vendor.c index 5c6be0de03..72cbdd536b 100644 --- a/plugins/docsis/packet-vendor.c +++ b/plugins/docsis/packet-vendor.c @@ -2,7 +2,7 @@ * Routines for Vendor Specific Encodings dissection * Copyright 2002, Anand V. Narwani <anand[AT]narwani.org> * - * $Id: packet-vendor.c,v 1.2 2003/05/28 14:52:53 gerald Exp $ + * $Id: packet-vendor.c,v 1.3 2003/07/19 02:11:34 guy Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@ethereal.com> @@ -316,7 +316,6 @@ proto_reg_handoff_docsis_vsif (void) dissector_handle_t docsis_vsif_handle; docsis_vsif_handle = find_dissector ("docsis_vsif"); - assert (docsis_vsif_handle); dissector_add ("docsis", 0xFD, docsis_vsif_handle); } |