Wireshark-commits: [Wireshark-commits] master 30692e2: Allow hexadecimal and octal numbers for tsha
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=30692e2f3a872a91d5c41cf59badf3eb393c5734
Submitter: Anders Broman (a.broman58@xxxxxxxxx)
Changed: branch: master
Repository: wireshark
Commits:
30692e2 by Peter Wu (peter@xxxxxxxxxxxxx):
Allow hexadecimal and octal numbers for tshark Decode As
tshark(1) documents "-d ethertype==0x0800" which suggests that
hexadecimal values must be accepted.
While at it, be a bit more stricter about the selector match (previously
"1-2 junk" was accepted too, reject trailing spaces now).
Change-Id: I85fbd2f55eaef51902ddaf2e559ab08ad59a5af7
Reviewed-on: https://code.wireshark.org/review/26089
Petri-Dish: Peter Wu <peter@xxxxxxxxxxxxx>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@xxxxxxxxx>
Actions performed:
from 5cbc09e Qt: accept hexadecimal input in Decode As dialog
adds 30692e2 Allow hexadecimal and octal numbers for tshark Decode As
Summary of changes:
ui/decode_as_utils.c | 46 +++++++++++++++++++++++++++++++++++-----------
1 file changed, 35 insertions(+), 11 deletions(-)