diff options
Diffstat (limited to 'ui/commandline.c')
-rw-r--r-- | ui/commandline.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/commandline.c b/ui/commandline.c index e936a327b9..ad6ee5cd67 100644 --- a/ui/commandline.c +++ b/ui/commandline.c @@ -451,7 +451,7 @@ void commandline_other_options(int argc, char *argv[], gboolean opt_reset) global_commandline_info.jump_backwards = SD_BACKWARD; break; case 'g': /* Go to packet with the given packet number */ - global_commandline_info.go_to_packet = get_positive_int(optarg, "go to packet"); + global_commandline_info.go_to_packet = get_nonzero_guint32(optarg, "go to packet"); break; case 'J': /* Jump to the first packet which matches the filter criteria */ global_commandline_info.jfilter = optarg; |