aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-fix.c
diff options
context:
space:
mode:
authoranonsvn <anonsvn@localhost>2012-01-05 18:54:02 +0000
committeranonsvn <anonsvn@localhost>2012-01-05 18:54:02 +0000
commit5e76833ee634c6bc01fe2564bf0775c8bab8e391 (patch)
treed4e7587017e8accc2352dc766c7f20d81067adb7 /epan/dissectors/packet-fix.c
parent21a7e5cc132a0ae76b33fcbf83b05ce17db0e787 (diff)
Fix some typos. Fixes https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6709
svn path=/trunk/; revision=40390
Diffstat (limited to 'epan/dissectors/packet-fix.c')
-rw-r--r--epan/dissectors/packet-fix.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/epan/dissectors/packet-fix.c b/epan/dissectors/packet-fix.c
index 8378587c3d..0b5fe19ad1 100644
--- a/epan/dissectors/packet-fix.c
+++ b/epan/dissectors/packet-fix.c
@@ -120,7 +120,7 @@ tag_search(int key)
/* Code to actually dissect the packets */
static int fix_next_header(tvbuff_t *tvb, int offset)
{
- /* try to resynch to the next start */
+ /* try to resync to the next start */
guint min_len = tvb_length_remaining(tvb, offset);
const guint8 *data = tvb_get_ephemeral_string(tvb, offset, min_len);
const guint8 *start = data;
@@ -325,15 +325,15 @@ dissect_fix_packet(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
switch (fix_fields[i].type) {
case 1: /* strings */
proto_tree_add_string_format_value(fix_tree, fix_fields[i].hf_id, tvb, field_offset, tag->field_len, value,
- "%s (%s)", value, str_to_str(value, fix_fields[i].table, "unknow %s"));
+ "%s (%s)", value, str_to_str(value, fix_fields[i].table, "unknown %s"));
break;
case 2: /* char */
proto_tree_add_string_format_value(fix_tree, fix_fields[i].hf_id, tvb, field_offset, tag->field_len, value,
- "%s (%s)", value, val_to_str(*value, fix_fields[i].table, "unknow %d"));
+ "%s (%s)", value, val_to_str(*value, fix_fields[i].table, "unknown %d"));
break;
default:
proto_tree_add_string_format_value(fix_tree, fix_fields[i].hf_id, tvb, field_offset, tag->field_len, value,
- "%s (%s)", value, val_to_str(atoi(value), fix_fields[i].table, "unknow %d"));
+ "%s (%s)", value, val_to_str(atoi(value), fix_fields[i].table, "unknown %d"));
break;
}
}