Change in libosmocore[master]: ctrl: use #define for TRAP id

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

daniel gerrit-no-reply at lists.osmocom.org
Mon Nov 26 15:17:04 UTC 2018


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 <msuraev at sysmocom.de>
Gerrit-Reviewer: Harald Welte <laforge at gnumonks.org>
Gerrit-Reviewer: Jenkins Builder (1000002)
Gerrit-Reviewer: Max <msuraev at sysmocom.de>
Gerrit-Reviewer: daniel <dwillmann at sysmocom.de>
Gerrit-CC: Pau Espin Pedrol <pespin at sysmocom.de>
Gerrit-Comment-Date: Mon, 26 Nov 2018 15:17:04 +0000
Gerrit-HasComments: Yes
Gerrit-HasLabels: No
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20181126/ddd077b8/attachment.htm>


More information about the gerrit-log mailing list