Ticket #35 (seen Problem)
Policy script interpreting continues after a const variable is later declared as a global variable.
| Reported by: | seth | Owned by: | |
|---|---|---|---|
| Priority: | Normal | Component: | Bro |
| Version: | 1.5.2-devel (svn) | Keywords: | |
| Cc: |
Description
Running this...
const smtp_ports = { 25/tcp };
global smtp_ports = { 25/tcp, 587/tcp };
throws this error...
(smtp_ports): error, already defined
and the script continues being interpreted even though the value of the smtp_ports variable has been deleted. As far as I can tell, the smtp_ports variable is put back into a state as though it has been defined without a type (implicit or explicit). This problem is related to ticket #34.
Attachments
Change History
Note: See
TracTickets for help on using
tickets.
