BRO_CFLAG_RECONNECT error

Hello Bro Team.

I had done a fresh pull down of Fedora 21 and wanted to upgrade bro as
well. So I pulled down bro-2.3.2 and compiled. All went fine and no
errors. After 'make install' I went to start bro via broctl and got
the following error

Traceback (most recent call last):
  File "/usr/local/bro/bin/broctl", line 962, in <module>
    from BroControl import util
  File "/usr/local/bro/lib/broctl/BroControl/util.py", line 10, in
<module>
    import config
  File "/usr/local/bro/lib/broctl/BroControl/config.py", line 9, in
<module>
    import execute
  File "/usr/local/bro/lib/broctl/BroControl/execute.py", line 17, in
<module>
    import broccoli
  File "/usr/local/bro/lib/broctl/broccoli.py", line 11, in <module>
    class Connection:
  File "/usr/local/bro/lib/broctl/broccoli.py", line 13, in Connection
    def __init__(self, destination, broclass="",
flags=BRO_CFLAG_RECONNECT | BRO_CFLAG_ALWAYS_QUEUE, connect=True):
NameError: name 'BRO_CFLAG_RECONNECT' is not defined

Now I thought this was due to an upgrade issue. So I deleted
everything in /usr/local/bro and reinstalled. Unfortunately, still
the same error. Has anyone encountered this before? I have had bro
running on Fedora 20 just fine before upgrade so I am wondering what
is afoot here.

When you compiled Bro, which version of swig was used?

I believe this is an issue with broccoli and newer versions of swig.
This should be fixed in a newer version of Bro (the 2.4 beta was
released today). Alternatively, if you prefer to use Bro 2.3.2,
then you could copy the files CMakeLists.txt and broccoli.py
from the git repo https://github.com/bro/broccoli-python and
put them in your Bro 2.3.2 source tree (the relative path
is aux/broccoli/bindings/broccoli-python/), then rebuild Bro.