summaryrefslogtreecommitdiff
path: root/file.c
diff options
context:
space:
mode:
authorStephen Fisher <steve@stephen-fisher.com>2011-01-19 18:21:21 +0000
committerStephen Fisher <steve@stephen-fisher.com>2011-01-19 18:21:21 +0000
commit347d0a77bf4117d730fd3646d194588d886fc7c0 (patch)
treeeda733125594320f73201acec369bc4e824a153c /file.c
parent30b047223abc6075763935ffa0de9491c2f855f3 (diff)
downloadwireshark-347d0a77bf4117d730fd3646d194588d886fc7c0.tar.gz
From Cal Turney via enhancement bug #5587: In hex or string searches of the
packet data highlight the target rather than the entire field. svn path=/trunk/; revision=35584
Diffstat (limited to 'file.c')
-rw-r--r--file.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/file.c b/file.c
index c69e0ea518..65b35b554b 100644
--- a/file.c
+++ b/file.c
@@ -3992,7 +3992,10 @@ find_packet(capture_file *cf,
if (new_fd != NULL) {
#ifdef NEW_PACKET_LIST
/* Find and select */
+ cf->search_in_progress = TRUE;
row = new_packet_list_find_row_from_data(fdata, TRUE);
+ cf->search_in_progress = FALSE;
+ cf->search_pos = 0; /* Reset the position */
#else
/* We found a frame. Find what row it's in. */
row = packet_list_find_row_from_data(new_fd);