Huge thanks to our Platinum Members Endace and LiveAction,
and our Silver Member Veeam, for supporting the Wireshark Foundation and project.

Wireshark-bugs: [Wireshark-bugs] [Bug 9320] New: Added copy/bytes variant that formats single fi

Date: Thu, 24 Oct 2013 16:50:41 +0000
Bug ID 9320
Summary Added copy/bytes variant that formats single fields as C array
Classification Unclassified
Product Wireshark
Version SVN
Hardware x86
OS Ubuntu
Status UNCONFIRMED
Severity Enhancement
Priority Low
Component Wireshark
Assignee [email protected]
Reporter [email protected]

Created attachment 11871 [details]
Patch that implements the feature described above

Build Information:
This has been tested with Ubuntu 12.04, 32bit, gcc 4.6.3.
--
This adds a copy/bytes/c_array entry to the context menu. It copies the
selected date to the paste buffer like in the follwoing example:

/* User Datagram Protocol, Src Port: 62298 (62298), Dst Port: 23000 (23000) */
static const unsigned char udp_data[8] = {
    0xf3, 0x5a, 0x59, 0xd8, 0x00, 0x1e, 0x84, 0x12
};


You are receiving this mail because:
  • You are watching all bug changes.