Ask Your Question
0

how to restore snaplen to "default"?

asked 2017-12-15 16:30:24 +0000

nignasi gravatar image

As an experiment I've changed snaplen value from one of my interfaces. It's initial value was "default". I changed to a certain value and now I would like to leave again to "default", but it's not possible. At least I cannot do it, I just can select a number but not "default". Any idea?

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted
0

answered 2021-06-01 16:58:03 +0000

Chuckc gravatar image

(Bugs were moved to Gitlab Issues in 2020)

The comments on the issue now include a workaround by changing the snaplen value in Preferences.

edit flag offensive delete link more
0

answered 2017-12-16 02:18:39 +0000

cmaynard gravatar image

If you set it to 262144, it should be restored to the default value. You can verify this by closing the Capture Options Window and then opening it again to see if it was set back to the default. That value is mentioned in the Wireshark man page (and other man pages as well) as being the default snaplen.

edit flag offensive delete link more

Comments

I shouldn't be forced to know a magic value for this. Entering nothing or entering '0' should revert to 'Default', IMHO.

Jaap gravatar imageJaap ( 2017-12-16 09:09:48 +0000 )edit

Maybe so, but my answer only reflects what is, not what should be. An enhancement bug report could be opened for this though.

cmaynard gravatar imagecmaynard ( 2017-12-16 15:52:27 +0000 )edit

True, it was never intended as a remark on your comment.

Jaap gravatar imageJaap ( 2017-12-16 17:12:56 +0000 )edit

Yeah, no worries. I agree with you by the way; it would be nice if there was an easier way to restore the default without having to actually know what it is.

cmaynard gravatar imagecmaynard ( 2017-12-16 17:26:58 +0000 )edit

Bug 15389 has been filed.

cmaynard gravatar imagecmaynard ( 2019-01-02 22:57:31 +0000 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2017-12-15 16:30:24 +0000

Seen: 3,245 times

Last updated: Jun 01 '21