Attention is currently required from: laforge, fixeria.
neels has posted comments on this change. ( https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/26617 )
Change subject: bsc: make perform_clear() work when VTY is not initialized
......................................................................
Patch Set 1:
(1 comment)
File bsc/BSC_Tests.ttcn:
https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/26617/comment/97c11097_7ee3…
PS1, Line 1069: if (g_vty_initialized) {
> good idea!
I would have done that, but f_logp() is not on MSC_ConnHdlr and hence doesn't know g_* variables. Is there a way to find out from the state of the TELNETasp_PT whether it is connected?
--
To view, visit https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/26617
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: osmo-ttcn3-hacks
Gerrit-Branch: master
Gerrit-Change-Id: I8116075f32937bd06ba14b426010bf6fec2ef402
Gerrit-Change-Number: 26617
Gerrit-PatchSet: 1
Gerrit-Owner: neels <nhofmeyr(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: laforge <laforge(a)osmocom.org>
Gerrit-Reviewer: pespin <pespin(a)sysmocom.de>
Gerrit-CC: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-Attention: laforge <laforge(a)osmocom.org>
Gerrit-Attention: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-Comment-Date: Sat, 22 Jan 2022 22:56:54 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: laforge <laforge(a)osmocom.org>
Comment-In-Reply-To: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-MessageType: comment
Attention is currently required from: pespin.
neels has posted comments on this change. ( https://gerrit.osmocom.org/c/libosmocore/+/26608 )
Change subject: add osmo_sockaddr_to_str_c(), osmo_sockaddr_to_str_buf2()
......................................................................
Patch Set 2:
(6 comments)
Patchset:
PS2:
the function was defined to return null for short buf.
The new version is better, it returns a truncated string and the would-be-required length.
File src/socket.c:
https://gerrit.osmocom.org/c/libosmocore/+/26608/comment/6efb1de2_9815eff3
PS1, Line 1827: /*! string-format a given osmo_sockaddr address into a user-supplied buffer.
> I think you are changing how this function used to worked here, and imho it's unexpected. […]
Previously, the function would return NULL in case of errors, just in a specific corner case it didn't. Read the API doc: "or NULL if too short". The C test shows this.
File tests/socket/socket_test.c:
https://gerrit.osmocom.org/c/libosmocore/+/26608/comment/4d53c597_41a7e44d
PS2, Line 350: OSMO_ASSERT(!strncmp("[::1]:4", result, sizeof(buf)));
here for some reason, even though the port number should be 42, the function failed to return NULL.
https://gerrit.osmocom.org/c/libosmocore/+/26608/comment/7d6b93bc_a59aebae
PS2, Line 350: OSMO_ASSERT(result == NULL);
Now this corner case is fixed.
https://gerrit.osmocom.org/c/libosmocore/+/26608/comment/877da413_f3e9b34f
PS2, Line 357: OSMO_ASSERT(result == NULL);
here and
https://gerrit.osmocom.org/c/libosmocore/+/26608/comment/5c7fc121_72005a9d
PS2, Line 363: OSMO_ASSERT(result == NULL);
here it was always verified to return NULL for a short buffer
--
To view, visit https://gerrit.osmocom.org/c/libosmocore/+/26608
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: libosmocore
Gerrit-Branch: master
Gerrit-Change-Id: I12771bf8a021e6785217b1faad03c09ec1cfef0e
Gerrit-Change-Number: 26608
Gerrit-PatchSet: 2
Gerrit-Owner: neels <nhofmeyr(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: laforge <laforge(a)osmocom.org>
Gerrit-Reviewer: lynxis lazus <lynxis(a)fe80.eu>
Gerrit-CC: pespin <pespin(a)sysmocom.de>
Gerrit-Attention: pespin <pespin(a)sysmocom.de>
Gerrit-Comment-Date: Sat, 22 Jan 2022 22:46:20 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: pespin <pespin(a)sysmocom.de>
Gerrit-MessageType: comment
neels has submitted this change. ( https://gerrit.osmocom.org/c/osmo-bsc/+/26966 )
Change subject: fix two comments in chan_counts.h
......................................................................
fix two comments in chan_counts.h
An earlier patch version had that typedef, the merged version switched
to the struct containing the array.
Change-Id: Id8ca7b298436feb98f4a563ad3cdea510b9362b0
---
M include/osmocom/bsc/chan_counts.h
1 file changed, 2 insertions(+), 2 deletions(-)
Approvals:
neels: Looks good to me, approved
Jenkins Builder: Verified
diff --git a/include/osmocom/bsc/chan_counts.h b/include/osmocom/bsc/chan_counts.h
index 9f73bc4..31a1adc 100644
--- a/include/osmocom/bsc/chan_counts.h
+++ b/include/osmocom/bsc/chan_counts.h
@@ -4,7 +4,7 @@
struct gsm_bts;
struct gsm_bts_trx;
-/* First array index to typedef chan_counts_arr. */
+/* First array index to chan_counts.val. */
enum chan_counts_dim1 {
CHAN_COUNTS1_ALL = 0,
CHAN_COUNTS1_STATIC = 1,
@@ -12,7 +12,7 @@
_CHAN_COUNTS1_NUM
};
-/* Second array index to typedef chan_counts_arr. */
+/* Second array index to chan_counts.val. */
enum chan_counts_dim2 {
/* The maximum possible nr of lchans of this type. Counts all dynamic timeslots as if they are fully available
* for this type, regardless of the current pchan mode. (For CHAN_COUNTS1_STATIC, of course no dyn TS are counted
--
To view, visit https://gerrit.osmocom.org/c/osmo-bsc/+/26966
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: osmo-bsc
Gerrit-Branch: master
Gerrit-Change-Id: Id8ca7b298436feb98f4a563ad3cdea510b9362b0
Gerrit-Change-Number: 26966
Gerrit-PatchSet: 1
Gerrit-Owner: neels <nhofmeyr(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: neels <nhofmeyr(a)sysmocom.de>
Gerrit-MessageType: merged
Attention is currently required from: fixeria.
laforge has posted comments on this change. ( https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/26521 )
Change subject: library/DIAMETER_Emulation: implement direct mode of operation
......................................................................
Patch Set 5: Code-Review+1
(1 comment)
Patchset:
PS5:
not sure if we call this "direct" or "raw" in other emulation components? Might be worth verifying we align with others naming-wise
--
To view, visit https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/26521
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: osmo-ttcn3-hacks
Gerrit-Branch: master
Gerrit-Change-Id: I52e22ac70cc85be5b0436b68c77356aabc4f05e1
Gerrit-Change-Number: 26521
Gerrit-PatchSet: 5
Gerrit-Owner: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: laforge <laforge(a)osmocom.org>
Gerrit-CC: pespin <pespin(a)sysmocom.de>
Gerrit-Attention: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-Comment-Date: Sat, 22 Jan 2022 13:00:07 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: Yes
Gerrit-MessageType: comment
laforge has posted comments on this change. ( https://gerrit.osmocom.org/c/pysim/+/26964 )
Change subject: pySim-shell: alphabetically sort name of files in 'dir' command
......................................................................
Patch Set 1: Code-Review+2
--
To view, visit https://gerrit.osmocom.org/c/pysim/+/26964
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: pysim
Gerrit-Branch: master
Gerrit-Change-Id: Id136909884d3c0eaa2416c6c488a6c4b7ed48119
Gerrit-Change-Number: 26964
Gerrit-PatchSet: 1
Gerrit-Owner: laforge <laforge(a)osmocom.org>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: laforge <laforge(a)osmocom.org>
Gerrit-Comment-Date: Sat, 22 Jan 2022 12:58:55 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: Yes
Gerrit-MessageType: comment