On Tue, 30 Apr 2013 17:31:39 -0400
Nitin Sharma <[email protected]> wrote:

>             elif (msg.version == 1):
>                 pkt = packet.Packet(array.array('B', ev.msg.data))
>                 for p in pkt.protocols:
>                     if p.protocol_name == 'arp':
>                         dst_ip = str(self.numToDottedQuad(p.dst_ip))
>                         src_ip = str(self.numToDottedQuad(p.src_ip))

I think that the above code works with any OF versions.

------------------------------------------------------------------------------
Introducing AppDynamics Lite, a free troubleshooting tool for Java/.NET
Get 100% visibility into your production application - at no cost.
Code-level diagnostics for performance bottlenecks with <2% overhead
Download for free and get started troubleshooting in minutes.
http://p.sf.net/sfu/appdyn_d2d_ap1
_______________________________________________
Ryu-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ryu-devel

Reply via email to