daniel has posted comments on this change. ( https://gerrit.osmocom.org/11926 )

Change subject: ctrl: use #define for TRAP id
......................................................................


Patch Set 1:

(1 comment)

https://gerrit.osmocom.org/#/c/11926/1/src/ctrl/control_if.c
File src/ctrl/control_if.c:

https://gerrit.osmocom.org/#/c/11926/1/src/ctrl/control_if.c@159
PS1, Line 159:  cmd->id = CTRL_CMD_TRAP_ID; /* It's a TRAP! */
> I don't know what was the reasoning behind this decision. […]
Probably because we use the ID to match a request to a reply and didn't want 
traps to interfere there.
It is of course entirely possible to just ignore traps in general when 
matching, just saying I think this was the idea.



--
To view, visit https://gerrit.osmocom.org/11926
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.osmocom.org/settings

Gerrit-Project: libosmocore
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: I33d7d4c6a1885a75a85d6f2f017430e0860b4126
Gerrit-Change-Number: 11926
Gerrit-PatchSet: 1
Gerrit-Owner: Max <[email protected]>
Gerrit-Reviewer: Harald Welte <[email protected]>
Gerrit-Reviewer: Jenkins Builder (1000002)
Gerrit-Reviewer: Max <[email protected]>
Gerrit-Reviewer: daniel <[email protected]>
Gerrit-CC: Pau Espin Pedrol <[email protected]>
Gerrit-Comment-Date: Mon, 26 Nov 2018 15:17:04 +0000
Gerrit-HasComments: Yes
Gerrit-HasLabels: No

Reply via email to