Wireshark-commits: [Wireshark-commits] master 14697b8: Pass tvb and offset into print_nsap_net() an
From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Fri, 27 Feb 2015 07:37:45 +0000 (UTC)
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=14697b8aee2dd3842806e82ab7220b68260d9363
Submitter: Anders Broman (a.broman58@xxxxxxxxx)
Changed: branch: master
Repository: wireshark

Commits:

14697b8 by Michael Mann (mmann78@xxxxxxxxxxxx):

    Pass tvb and offset into print_nsap_net() and print_area() to "hide" the tvb_get_ptr call that dissectors are using.
    
    Change-Id: Ibc5a51be462d431b85b34cac7a358d736ec7b9db
    Reviewed-on: https://code.wireshark.org/review/7422
    Reviewed-by: Michael Mann <mmann78@xxxxxxxxxxxx>
    Petri-Dish: Michael Mann <mmann78@xxxxxxxxxxxx>
    Tested-by: Petri Dish Buildbot <buildbot-no-reply@xxxxxxxxxxxxx>
    Reviewed-by: Anders Broman <a.broman58@xxxxxxxxx>
    

Actions performed:

    from  64c0678   Again, we need a separate pointer to advance through the buffer.
    adds  14697b8   Pass tvb and offset into print_nsap_net() and print_area() to "hide" the tvb_get_ptr call that dissectors are using.


Summary of changes:
 epan/dissectors/packet-clnp.c        |    7 ++-----
 epan/dissectors/packet-esis.c        |    8 ++++----
 epan/dissectors/packet-isis-lsp.c    |    2 +-
 epan/dissectors/packet-osi-options.c |    5 ++---
 epan/dissectors/packet-rsvp.c        |    8 ++++----
 epan/osi-utils.c                     |    8 ++++----
 epan/osi-utils.h                     |    4 ++--
 7 files changed, 19 insertions(+), 23 deletions(-)