Ask Your Question

how to restore snaplen to "default"?

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

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

1 Answer

Sort by ยป oldest newest most voted

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


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

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


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

Seen: 78 times

Last updated: Dec 16 '17