Wireshark-commits: [Wireshark-commits] master-1.12 f189bb6: Allow EUI-64s to be specified as number
From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Tue, 21 Jul 2015 04:31:50 +0000 (UTC)
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=f189bb647257360933459ae603edcf579e9e2e0f
Submitter: Guy Harris (guy@xxxxxxxxxxxx)
Changed: branch: master-1.12
Repository: wireshark

Commits:

f189bb6 by Guy Harris (guy@xxxxxxxxxxxx):

    Allow EUI-64s to be specified as numbers or byte strings.
    
    They are, after all, really byte strings, just as MAC-48s/EUI-48s are.
    
    Clean up some of the integer <-> byte-string trickery a bit, using
    unions rather than pointer punning.
    
    Bug: 11380
    Change-Id: Ib60dbfc4973e42b2f508eada27bd4340d4e7b934
    Reviewed-on: https://code.wireshark.org/review/9732
    Reviewed-by: Guy Harris <guy@xxxxxxxxxxxx>
    

Actions performed:

    from  5470a4d   Protect dissector_get_(default_)string_handle() against NULL input string
    adds  f189bb6   Allow EUI-64s to be specified as numbers or byte strings.


Summary of changes:
 epan/ftypes/ftype-integer.c |   40 ++++++++++++++++++++++++++++++----------
 1 file changed, 30 insertions(+), 10 deletions(-)