Its working fine.

Thanks.

On Thu, Oct 8, 2015 at 10:38 PM, Ramana Reddy <gtvrre...@gmail.com> wrote:

> Hi All,
>
> The following code is not displaying ASCII output properly.
>
>  def _handle_PacketIn (self, event):
>     """
>     Handle packet in messages from the switch to implement above algorithm.
>     """
>
>     packet = event.parsed
>     tcp = packet.find('tcp')
>     if tcp:
>         log.debug("payload: %s", tcp.payload)
>
> Note: I tried even tcp.payload.decode("utf-8") also. Same problem.
>
> Thanks,
> Ramana
>
>
>

Reply via email to