Wireshark-commits: [Wireshark-commits] master a4251ec: decode-as: Write the entries sorted to file.

From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Fri, 15 Mar 2019 19:17:55 +0000
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=a4251ec71dd253fb967de8dbb1420759ef7cb890
Submitter: "Anders Broman <a.broman58@xxxxxxxxx>"
Changed: branch: master
Repository: wireshark

Commits:

a4251ec by Anders Broman (anders.broman@xxxxxxxxxxxx):

    decode-as: Write the entries sorted to file.
    
    If the list isn't sorted port ranges in preferences get may get "scrambled".
    Try SIP udp.ports 5060, 5062-5064, 5066, 5078 save and open again the
    order is now random. This patch should fix that.
    
    Change-Id: Ic81f5d132d2c28ca982e8719786cdddbd237d37b
    Reviewed-on: https://code.wireshark.org/review/32420
    Petri-Dish: Anders Broman <a.broman58@xxxxxxxxx>
    Tested-by: Petri Dish Buildbot
    Reviewed-by: Anders Broman <a.broman58@xxxxxxxxx>
    

Actions performed:

    from  12ee180   TCP: Adding sequence number only once to the tree
     add  a4251ec   decode-as: Write the entries sorted to file.


Summary of changes:
 epan/decode_as.c | 53 ++++++++++++++++++++++++++++++++++++++---------------
 1 file changed, 38 insertions(+), 15 deletions(-)