Hi,

Patch applies cleanly and appears to work great:

[EMAIL PROTECTED] ~> tcpdump -i bge1 stp
tcpdump: listening on bge1, link-type EN10MB
15:25:02.061139 802.1d RSTP config flags=0x3c<learn,fwd,role=desig> root=6011.0:18:74:61:e5:40 rootcost=0x0 bridge=6011.0:18:74:61:e5:40 port=0x8630 age=0/0 max=20/0 hello=2/0 fwdelay=15/0

I'm not coders either so I can't review your patch's quality, but would be good to get it verified & in the tree.

thanks.

/Pete




On 29. okt. 2006, at 14.15, Stuart Henderson wrote:

On 2006/10/27 14:03, Pete Vickers wrote:
A nice start could be to teach our tcpdump about RSTP. At present it
just pukes:

something like this? (coding style probably sucks, but I'm no coder :)

Index: print-stp.c
===================================================================
RCS file: /data/cvsroot/OpenBSD/src/usr.sbin/tcpdump/print-stp.c,v
retrieving revision 1.4
diff -u -r1.4 print-stp.c

Reply via email to