Hi,

I am not able to decode the BFD packets using get_protocol function.

>b = pkt.get_protocol(bfd.bfd)
>self.logger.info(b)

The above code prints NONE.  bfd packet parsing  library couldnot parse the

But I used another approach to decode the BFD protocol.

>payload = pkt.protocols[-1]
>print bfd.bfd.parser(payload)[0]
This works.
Refer the logs below.

Question.:
- Does pkt.get_protocol(bfd.bfd)   should work? or am i doing something
wrong?


LOGS
=======
None
bfd(auth_cls=None,desired_min_tx_interval=1000000,detect_mult=3,diag=0,flags=0,length=24,my_discr=4221102142,required_min_echo_rx_interval=0,required_min_rx_interval=10000,state=1,ver=1,your_discr=0)


-- 

*Regards, *
*Knet solutions.*
*UDEMY RYU SDN Training Course:  UDEMY LINK
<https://www.udemy.com/beginners-sdn-course-with-ryu-controller-practical-handson/?couponCode=TEN_DOLLAR>*
Whatsapp/Mobile:  +919445042007
website:  http://knetsolutions.in/
Facebook Page :   https://www.facebook.com/sdntraining/

<https://www.youtube.com/channel/UCTD6X9_oDqIYs_xpE7moFnQ>
_______________________________________________
Ryu-devel mailing list
Ryu-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ryu-devel

Reply via email to