diff options
author | gram <gram@f5534014-38df-0310-8fa8-9805f1628bb7> | 1999-07-29 05:47:07 +0000 |
---|---|---|
committer | gram <gram@f5534014-38df-0310-8fa8-9805f1628bb7> | 1999-07-29 05:47:07 +0000 |
commit | 58d1dbf1eaaf8b1b10b6f8280b77c43e63bc22b2 (patch) | |
tree | 3e8a46fe6f7bb69698edb1187655e445bbfda37c /packet-eth.c | |
parent | 2c76c5f80357503a8290e43f9bae69dc026ac54b (diff) |
Made the protocol (but not the fields) use the new proto_tree routine,
allowing users to filter on the existence of these protocols. I also
added packet-clip.c to the Nmake makefile.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@402 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'packet-eth.c')
-rw-r--r-- | packet-eth.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/packet-eth.c b/packet-eth.c index af24e3bb88..3a06b413cc 100644 --- a/packet-eth.c +++ b/packet-eth.c @@ -1,7 +1,7 @@ /* packet-eth.c * Routines for ethernet packet disassembly * - * $Id: packet-eth.c,v 1.12 1999/07/15 15:32:40 gram Exp $ + * $Id: packet-eth.c,v 1.13 1999/07/29 05:46:54 gram Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@zing.org> @@ -39,13 +39,13 @@ extern const value_string etype_vals[]; /* protocols and header fields */ -int proto_eth = -1; -int hf_eth_dst = -1; -int hf_eth_dst_vendor = -1; -int hf_eth_src = -1; -int hf_eth_src_vendor = -1; -int hf_eth_len = -1; -int hf_eth_type = -1; +static int proto_eth = -1; +static int hf_eth_dst = -1; +static int hf_eth_dst_vendor = -1; +static int hf_eth_src = -1; +static int hf_eth_src_vendor = -1; +static int hf_eth_len = -1; +static int hf_eth_type = -1; #define IEEE_802_3_MAX_LEN 1500 |