https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=15234

            Bug ID: 15234
           Summary: Add CableLabs vendor option /* 61 */ CCAP-CORES to
                    packet-dhcpv6.c
           Product: Wireshark
           Version: Git
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: Enhancement
          Priority: Low
         Component: Dissection engine (libwireshark)
          Assignee: bugzilla-ad...@wireshark.org
          Reporter: jfor...@cisco.com
  Target Milestone: ---

Created attachment 16672
  --> https://bugs.wireshark.org/bugzilla/attachment.cgi?id=16672&action=edit
Exported DHCPv6 packets from trace

Build Information:
Wireshark 2.6.4 (v2.6.4)

Copyright 1998-2018 Gerald Combs <ger...@wireshark.org> and contributors.
License GPLv2+: GNU GPL version 2 or later
<http://www.gnu.org/licenses/old-licenses/gpl-2.0.html>
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Compiled (64-bit) with Qt 5.11.2, with libpcap, without POSIX capabilities,
with
GLib 2.58.1, with zlib 1.2.11, with SMI 0.5.0, with c-ares 1.14.0, with Lua
5.2.4, with GnuTLS 3.5.19, with Gcrypt 1.8.3, with MIT Kerberos, without
MaxMind
DB resolver, without nghttp2, with LZ4, without Snappy, without libxml2, with
QtMultimedia, without SBC, without SpanDSP, without bcg729.

Running on Mac OS X 10.14, build 18A391 (Darwin 18.0.0), with Intel(R) Core(TM)
i5-7267U CPU @ 3.10GHz (with SSE4.2), with 8192 MB of physical memory, with
locale en_US.UTF-8, with libpcap version 1.9.0-PRE-GIT, with GnuTLS 3.5.19,
with
Gcrypt 1.8.3, with zlib 1.2.11, binary plugins supported (0 loaded).

Built using clang 4.2.1 Compatible Apple LLVM 10.0.0 (clang-1000.11.45.2).

--
CableLabs DHCPv6 option 61 (0x3d) "CCAP-CORES" needs to be added for the
CableLabs Remote PHY (R-PHY) devices.

I have built 2.6.4 on Linux and this diff works fine. Building on MAC to test
as well.

--- epan/dissectors/packet-dhcpv6.orig  2018-10-22 19:55:03.000000000 -0400
+++ epan/dissectors/packet-dhcpv6.c     2018-10-22 19:55:17.000000000 -0400
@@ -624,6 +624,7 @@
 #define CL_OPTION_RFC868_SERVERS          0x0025 /* 37 */
 #define CL_OPTION_TIME_OFFSET             0x0026 /* 38 */
 #define CL_OPTION_IP_PREF                 0x0027 /* 39 */
+#define CL_OPTION_CCAP_CORES              0x003D /* 61 */

 /** CableLabs DOCSIS Project Vendor Specific Options */
 #define CL_OPTION_DOCS_CMTS_CAP 0x0401  /* 1025 */
@@ -655,6 +656,7 @@
     /*   35 */ { CL_OPTION_TLV5,                    "TLV5 = " },
     /*   36 */ { CL_OPTION_DEVICE_ID,               "Device Identifier = " },
     /*   37 */ { CL_OPTION_RFC868_SERVERS,          "Time Protocol Servers : "
},
+    /*   61 */ { CL_OPTION_CCAP_CORES,              "CCAP-CORES : " },
     /*   38 */ { CL_OPTION_TIME_OFFSET,             "Time Offset = " },
     /*   39 */ { CL_OPTION_IP_PREF,                 "IP preference : " },
     /* 1025 */ { CL_OPTION_DOCS_CMTS_CAP,           "CMTS Capabilities Option
: " },
@@ -1166,6 +1168,7 @@
             case CL_OPTION_TFTP_SERVERS:
             case CL_OPTION_SYSLOG_SERVERS:
             case CL_OPTION_RFC868_SERVERS:
+            case CL_OPTION_CCAP_CORES:
                 field_len = 16;
                 opt_len = tlv_len;
                 subtree = proto_item_add_subtree(ti,
ett_dhcpv6_vendor_option);

-- 
You are receiving this mail because:
You are watching all bug changes.
___________________________________________________________________________
Sent via:    Wireshark-bugs mailing list <wireshark-bugs@wireshark.org>
Archives:    https://www.wireshark.org/lists/wireshark-bugs
Unsubscribe: https://www.wireshark.org/mailman/options/wireshark-bugs
             mailto:wireshark-bugs-requ...@wireshark.org?subject=unsubscribe

Reply via email to