Search Mailing List Archives


Limit search to: Subject & Body Subject Author
Sort by: Reverse Sort
Limit to: All This Week Last Week This Month Last Month
Select Date Range     through    

[openflow-discuss] wireshark 1.6.x openflow dissector

Masahiko Takahashi masahik7 at stanford.edu
Thu Dec 1 10:14:09 PST 2011


Hi Patrick,

It seems wireshark has changed an API early this year.
The following patch might work.


Thanks,

Masahiko.


diff --git a/utilities/wireshark_dissectors/openflow/packet-openflow.c b/utilities/wireshark_dissectors/openflow/packet-openflow.c
index aea00f8..8d98335 100644
--- a/utilities/wireshark_dissectors/openflow/packet-openflow.c
+++ b/utilities/wireshark_dissectors/openflow/packet-openflow.c
@@ -766,7 +766,7 @@ static gint ett_ofp_error_msg_data = -1;
  void proto_reg_handoff_openflow()
  {
      openflow_handle = create_dissector_handle(dissect_openflow, proto_openflow);
-    dissector_add(TCP_PORT_FILTER, global_openflow_proto, openflow_handle);
+    dissector_add_uint(TCP_PORT_FILTER, global_openflow_proto, openflow_handle);
  }

  #define NO_STRINGS NULL



On 12/1/11 12:20 AM, Patrick Yu ( 游昭霖) wrote:
>
>
> The wireshark dissector for openflow in the tar ball
>
>
> http://openflow.org/downloads/openflow-1.0.0.tar.gz
>
> does not work in wireshark 1.6.2
>
> Is there any openflow dissector for wireshark 1.6.x ?
>
> Error Message:
> Couldn't load module /usr/lib/wireshark/libwireshark1/plugins/packet-openflow.so: /usr/lib/wireshark/libwireshark1/plugins/packet-openflow.so: undefined symbol: dissector_add
>
> Patrick Yu (游昭霖)
> Cloud Computing Research Center,
> Quanta Research Institute
> +886-3-3272345 Ext 18926
> Patrick.Yu at quantatw.com<mailto:Patrick.Yu at quantatw.com>
> 211, Wen Hwa 2nd Rd., Kui Shan, Tao Yuan, 33377, Taiwan
>
>
>
>
> _______________________________________________
> openflow-discuss mailing list
> openflow-discuss at lists.stanford.edu
> https://mailman.stanford.edu/mailman/listinfo/openflow-discuss


More information about the openflow-discuss mailing list