Binpac analyzer error

Hello,

I am trying to learn the bro programming language and following along with Jon Schipp’s youtube video bro - writing an analyzer. When I attempt to generate the files for the protocol I receive the following error:

/binpac_quickstart$ ./start.py RIP “Routing Internet Protocol” …/bro --udp
Traceback (most recent call last):
File “./start.py”, line 177, in
main(arguments)
File “./start.py”, line 59, in main
if do_plugin:
UnboundLocalError: local variable ‘do_plugin’ referenced before assignment
elcabezon@elcabezon:~/binpac_quickstart$

However when I append plugin at the end of the command, the files are generated in the src and scripts directory. I just want to know what I am doing wrong. Thank you very much.

Very respectfully,

Matias

You're not doing anything wrong, this was a bug in
binpac_quickstart. Two people submitted pull requests fixing this issue,
I just hadn't gotten around to merging it in yet.

I just merged a fix for this into master and it should work for you now. Please let
me know if you run into any more issues.

Thanks,

  --Vlad

Matias Davaro <matiasdavaro@gmail.com> writes: