Wireshark-bugs: [Wireshark-bugs] [Bug 8635] enhanced WCCP decoder
Date: Tue, 14 May 2013 21:43:43 +0000

Comment # 10 on bug 8635 from
- I am just guessing: NOTE -> NOT
- Yes, that's the item_length check I was thinking about
- Wrt FT_IPvX: Why not create two hf_ entries: One for IPv4 and one for IPv6
and then add the correct item? IIRC it should be possible to use the same
filter for both elements.

Oh, and I finally tried to compile the code :-)


[  5%] Building C object epan/CMakeFiles/epan.dir/dissectors/packet-wccp.c.o    
/home/jmayer/work/wireshark/svn/trunk/epan/dissectors/packet-wccp.c: In
function ‘dissect_wccp2_info’:
/home/jmayer/work/wireshark/svn/trunk/epan/dissectors/packet-wccp.c:870:12:
error: variable ‘wccp2r1_address_table’ set but not used
[-Werror=unused-but-set-variable]
   gboolean wccp2r1_address_table;
            ^
/home/jmayer/work/wireshark/svn/trunk/epan/dissectors/packet-wccp.c: In
function ‘dissect_wccp2_service_info’:
/home/jmayer/work/wireshark/svn/trunk/epan/dissectors/packet-wccp.c:1393:6:
error: request for implicit conversion from ‘void *’ to ‘gchar *’ not permitted
in C++ [-Werror=c++-compat]
   buf=ep_alloc(128);
      ^
/home/jmayer/work/wireshark/svn/trunk/epan/dissectors/packet-wccp.c: In
function ‘dissect_wccp2_web_cache_identity_element’:
/home/jmayer/work/wireshark/svn/trunk/epan/dissectors/packet-wccp.c:1542:6:
error: request for implicit conversion from ‘void *’ to ‘char *’ not permitted
in C++ [-Werror=c++-compat]
   buf=ep_alloc(128);
      ^
/home/jmayer/work/wireshark/svn/trunk/epan/dissectors/packet-wccp.c: In
function ‘dissect_wccp2_hash_buckets_assignment_element’:
/home/jmayer/work/wireshark/svn/trunk/epan/dissectors/packet-wccp.c:1825:17:
error: declaration of ‘te’ shadows a previous local [-Werror=shadow]
     proto_item *te;
                 ^
/home/jmayer/work/wireshark/svn/trunk/epan/dissectors/packet-wccp.c:1813:15:
error: shadowed declaration is here [-Werror=shadow]
   proto_item *te;
               ^
/home/jmayer/work/wireshark/svn/trunk/epan/dissectors/packet-wccp.c:1814:15:
error: variable ‘element_tree’ set but not used
[-Werror=unused-but-set-variable]
   proto_tree *element_tree;
               ^
/home/jmayer/work/wireshark/svn/trunk/epan/dissectors/packet-wccp.c: In
function ‘dissect_wccp2_command_extension’:
/home/jmayer/work/wireshark/svn/trunk/epan/dissectors/packet-wccp.c:1921:15:
error: variable ‘tf’ set but not used [-Werror=unused-but-set-variable]
   proto_item *tf=NULL;
               ^
/home/jmayer/work/wireshark/svn/trunk/epan/dissectors/packet-wccp.c: In
function ‘dissect_wccp2r1_address_table_info’:
/home/jmayer/work/wireshark/svn/trunk/epan/dissectors/packet-wccp.c:1969:15:
error: variable ‘element_tree’ set but not used
[-Werror=unused-but-set-variable]
   proto_tree *element_tree;
               ^

/home/jmayer/work/wireshark/svn/trunk/epan/dissectors/packet-wccp.c: In
function ‘dissect_timer_scale_capability’:
/home/jmayer/work/wireshark/svn/trunk/epan/dissectors/packet-wccp.c:2728:16:
error: variable ‘d’ set but not used [-Werror=unused-but-set-variable]
   guint8 a,b,c,d;
                ^
/home/jmayer/work/wireshark/svn/trunk/epan/dissectors/packet-wccp.c:2728:12:
error: variable ‘b’ set but not used [-Werror=unused-but-set-variable]
   guint8 a,b,c,d;
            ^
cc1: all warnings being treated as errors
make[2]: *** [epan/CMakeFiles/epan.dir/dissectors/packet-wccp.c.o] Error 1


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