Wireshark-commits: [Wireshark-commits] master 23b71ed: addr_resolv: function to convert an eth addr

From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Mon, 15 Oct 2018 05:16:03 +0000
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=23b71ed266a327413406722da59d99cfee8de6b5
Submitter: "Anders Broman <a.broman58@xxxxxxxxx>"
Changed: branch: master
Repository: wireshark

Commits:

23b71ed by Martin Kaiser (wireshark@xxxxxxxxx):

    addr_resolv: function to convert an eth address into raw bytes
    
    Add a function to convert a string that contains an ethernet address
    (including the colons) into a sequence of 6 bytes.
    
    Use the existing internal functions to parse an ethernet address.
    
    Declare the new function as local to libwireshark. It'll be used by
    wslua to support ethernet addresses.
    
    While at it, fix an incorrect comment about parse_ether_address(). If
    accept_mask is false, only a complete 6-byte ethernet address is
    accepted.
    
    Change-Id: Ib03306c44866fe97d3cbff2634411b7f5ec31a79
    Reviewed-on: https://code.wireshark.org/review/30162
    Petri-Dish: Martin Kaiser <wireshark@xxxxxxxxx>
    Tested-by: Petri Dish Buildbot
    Reviewed-by: Peter Wu <peter@xxxxxxxxxxxxx>
    Reviewed-by: Anders Broman <a.broman58@xxxxxxxxx>
    

Actions performed:

    from  c6dc409   FP: Added E-DCH T1 heuristic dissector
     add  23b71ed   addr_resolv: function to convert an eth address into raw bytes


Summary of changes:
 epan/addr_resolv.c | 20 +++++++++++++++++++-
 epan/addr_resolv.h |  3 +++
 2 files changed, 22 insertions(+), 1 deletion(-)