Wireshark

  • Riverbed Technology
  • WinPcap
the world's foremost network protocol analyzer
  • Wireshark
    • About
    • Download
    • Blog
  • Get Help
    • Ask a Question
    • FAQs
    • Documentation
    • Mailing Lists
    • Online Tools
    • Wiki
    • Bug Tracker
  • Develop
    • Get Involved
    • Developer's Guide
    • Browse the Code
    • Latest Builds

Wireshark-commits: [Wireshark-commits] rev 20714: /trunk/epan/ /trunk/epan/: strutil.c

Date Index Thread Index Other Months All Mailing Lists
Date Prev Date Next Thread Prev Thread Next


From: sfisher@xxxxxxxxxxxxx
Date: Sun, 04 Feb 2007 19:23:11 GMT

http://anonsvn.wireshark.org/viewvc/viewvc.cgi?view=rev&revision=20714

User: sfisher
Date: 2007/02/04 07:23 PM

Log:
 From Sebastien Tandel:
 
    Steve has modified a while ago hex_str_to_bytes to handle Cisco MAC
 format (xxxx.xxxx.xxxx). It did not test the nullity of the third and
 fourth byte (*r, *s) which is however done for the second byte. The test
 on the second byte is done as well in the following conditional tests.
 If this test is not mandatory thanks to the return value of isxdigit (at
 least on GNU/Linux and guess it should be the same on any platform), it
 would be better to follow the same logic in all tests cases for the
 comprehension of everyone (... which /could/ even, with luck, be turned
 in a faster code).
 Here is a light patch to follow the logic of the conditional tests done
 in the function.

Directory: /trunk/epan/
  Changes    Path          Action
  +2 -1      strutil.c     Modified


  • Prev by Date: [Wireshark-commits] rev 20713: /trunk/epan/dissectors/ /trunk/epan/dissectors/: packet-fmp.c packet-fmp.h packet-fmp_notify.c packet-fmp_notify.h
  • Next by Date: [Wireshark-commits] rev 20715: /trunk/test/ /trunk/test/: suite-capture.sh
  • Previous by thread: [Wireshark-commits] rev 20713: /trunk/epan/dissectors/ /trunk/epan/dissectors/: packet-fmp.c packet-fmp.h packet-fmp_notify.c packet-fmp_notify.h
  • Next by thread: [Wireshark-commits] rev 20715: /trunk/test/ /trunk/test/: suite-capture.sh
  • Index(es):
    • Date
    • Thread

Wireshark and the "fin" logo are registered trademarks of the Wireshark Foundation