aboutsummaryrefslogtreecommitdiffstats
path: root/packet-x25.c
diff options
context:
space:
mode:
authorOlivier Abad <oabad@noos.fr>2000-02-18 13:41:26 +0000
committerOlivier Abad <oabad@noos.fr>2000-02-18 13:41:26 +0000
commitbb2454e8bd4fc8f4f479a46898bff3c47f3af5bd (patch)
tree5a1805fc0370fc404120d3acba0e50327307ffaa /packet-x25.c
parent5aa0493bb3dc3ae9ba18ef79bdf388d26fcde873 (diff)
downloadwireshark-bb2454e8bd4fc8f4f479a46898bff3c47f3af5bd.tar.gz
wireshark-bb2454e8bd4fc8f4f479a46898bff3c47f3af5bd.tar.bz2
wireshark-bb2454e8bd4fc8f4f479a46898bff3c47f3af5bd.zip
Renamed init_dissect_x25() to reinit_x25_hashtable() and actually used it !
This function is used to re-initialize the hash table used by the X.25 dissector to record the upper layer protocol used by each VC. The hash table should be re-initialized each time we read / start a new capture. I moved the definition of the function from packet.h to packet-x25.h, and added calls to reinit_x25_hashtable() in read_cap_file (file.c) and do_capture (capture.c). svn path=/trunk/; revision=1644
Diffstat (limited to 'packet-x25.c')
-rw-r--r--packet-x25.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/packet-x25.c b/packet-x25.c
index e8e44287b1..23141ec8ba 100644
--- a/packet-x25.c
+++ b/packet-x25.c
@@ -2,7 +2,7 @@
* Routines for x25 packet disassembly
* Olivier Abad <abad@daba.dhis.net>
*
- * $Id: packet-x25.c,v 1.18 2000/02/15 21:03:29 gram Exp $
+ * $Id: packet-x25.c,v 1.19 2000/02/18 13:41:25 oabad Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@zing.org>
@@ -201,7 +201,7 @@ free_vc_info(vc_info *pt)
}
void
-init_dissect_x25()
+reinit_x25_hashtable()
{
int i;