Attention is currently required from: pespin.
fixeria has posted comments on this change by fixeria. (
https://gerrit.osmocom.org/c/erlang/osmo-s1gw/+/39113?usp=email )
Change subject: s1ap_proxy: handle_ies(): pass IEI path to handle_ie()
......................................................................
Patch Set 1:
(2 comments)
File src/s1ap_proxy.erl:
https://gerrit.osmocom.org/c/erlang/osmo-s1gw/+/39113/comment/799b51ca_0391…
:
PS1, Line 122: path = []}}.
btw iirc you can set the default values for a type
when you declare it (line 71)
Yes, this can be done. But I think it's also fine
having the initial state fully and explicitly initialized (fields that are not
`undefined`) here in one place.
https://gerrit.osmocom.org/c/erlang/osmo-s1gw/+/39113/comment/549849a8_8229…
:
PS1, Line 395: when P :: [s1ap_ie_id()], %% Path
why not simply renaming the params instead of adding
comments? lol
I am fine with renaming the actual params (will update this patch),
but only for the `-spec`. For the actual functions below I prefer using short, single
letter variable names because we're dealing with rather long ASN.1 identifiers and
nested records.
--
To view, visit
https://gerrit.osmocom.org/c/erlang/osmo-s1gw/+/39113?usp=email
To unsubscribe, or for help writing mail filters, visit
https://gerrit.osmocom.org/settings?usp=email
Gerrit-MessageType: comment
Gerrit-Project: erlang/osmo-s1gw
Gerrit-Branch: master
Gerrit-Change-Id: I35528a91f7dbf321ad1a0811f1bbcdfb529d3530
Gerrit-Change-Number: 39113
Gerrit-PatchSet: 1
Gerrit-Owner: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: pespin <pespin(a)sysmocom.de>
Gerrit-Attention: pespin <pespin(a)sysmocom.de>
Gerrit-Comment-Date: Wed, 11 Dec 2024 14:31:46 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: pespin <pespin(a)sysmocom.de>