[Bro-Dev] [JIRA] (BIT-8) Handling optional fields

Jon Siwek (JIRA) jira at bro-tracker.atlassian.net
Fri Mar 13 14:43:01 PDT 2015


     [ https://bro-tracker.atlassian.net/browse/BIT-8?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jon Siwek updated BIT-8:
------------------------
    Resolution: Won't Fix
        Status: Closed  (was: Open)

> Handling optional fields
> ------------------------
>
>                 Key: BIT-8
>                 URL: https://bro-tracker.atlassian.net/browse/BIT-8
>             Project: Bro Issue Tracker
>          Issue Type: Task
>          Components: Broccoli
>    Affects Versions: 1.5.2
>            Reporter: Matthias Vallentin
>            Assignee: kreibich
>
> Optional fields in records are currently returned in a record with type BRO_TYPE_UNKNOWN. The Bro serialization protocol uses a NULL pointer instead. To streamline the two interfaces, it thus makes more sense to return a NULL pointer in 
> {noformat}
> bro_rec_get_nth_val()
> {noformat}
> instead of an empty field instance.



--
This message was sent by Atlassian JIRA
(v6.4-OD-15-055#64014)


More information about the bro-dev mailing list