summaryrefslogtreecommitdiff
path: root/plugins/gryphon
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2000-01-01 21:21:20 +0000
committerGuy Harris <guy@alum.mit.edu>2000-01-01 21:21:20 +0000
commitd6c6aecdba0990128aeb8a047322e12b539c1bca (patch)
treec40b28d83b6bd64ff0fa1b47126cad2a0ad205f5 /plugins/gryphon
parented23b59fa2da9647cac558d6e4d229de63477220 (diff)
downloadwireshark-d6c6aecdba0990128aeb8a047322e12b539c1bca.tar.gz
Add a "break;" statement to a "default:" clause - the AIX C compiler
apparently doesn't like it when a case label is the last line in a "switch()" statement. Fix a spelling error. svn path=/trunk/; revision=1408
Diffstat (limited to 'plugins/gryphon')
-rw-r--r--plugins/gryphon/packet-gryphon.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/plugins/gryphon/packet-gryphon.c b/plugins/gryphon/packet-gryphon.c
index acce080a56..b86d592e3a 100644
--- a/plugins/gryphon/packet-gryphon.c
+++ b/plugins/gryphon/packet-gryphon.c
@@ -1,7 +1,7 @@
/* packet-gryphon.c
* Routines for Gryphon protocol packet disassembly
*
- * $Id: packet-gryphon.c,v 1.2 1999/12/26 22:37:39 gerald Exp $
+ * $Id: packet-gryphon.c,v 1.3 2000/01/01 21:21:20 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Steve Limkemann <stevelim@dgtech.com>
@@ -207,6 +207,7 @@ void dissector(const u_char *pd, int offset, frame_data *fd, proto_tree *tree)
case GY_FT_TEXT:
break;
default:
+ break;
}
if (data < msgend - msgpad) {
i = msgend - msgpad - data;
@@ -238,7 +239,7 @@ static const val_str_dsp cmds[] = {
{CMD_BCAST_OFF, "Set broadcasts off", NULL, NULL},
{CMD_CARD_SET_SPEED, "Set channel baud rate", speed, NULL},
{CMD_CARD_GET_SPEED, "Get channel baud rate", NULL, speed},
- {CMD_CARD_SET_FILTER, "Set filter (depricated)", cmd_setfilt, NULL},
+ {CMD_CARD_SET_FILTER, "Set filter (deprecated)", cmd_setfilt, NULL},
{CMD_CARD_GET_FILTER, "Get filter", resp_addfilt, cmd_addfilt},
{CMD_CARD_TX, "Transmit message", decode_data, NULL},
{CMD_CARD_TX_LOOP_ON, "Set transmit loopback on", NULL, NULL},