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/.
fixeria gerrit-no-reply at lists.osmocom.orgfixeria has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/23482 )
Change subject: BTS_Tests: fix IPv4 matching in TC_pcu_socket_{nsvc_ipv4,two_nsvc}
......................................................................
BTS_Tests: fix IPv4 matching in TC_pcu_socket_{nsvc_ipv4,two_nsvc}
This commit fixes a regression introduced in [1]
Change-Id: I107039f1ff44ae8c41d690f5f293ed136c17586b
Fixes: [1] Ia9f366ca1fdad700a90ca3367e43523f7bac39a1
---
M bts/BTS_Tests.ttcn
1 file changed, 5 insertions(+), 2 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/osmo-ttcn3-hacks refs/changes/82/23482/1
diff --git a/bts/BTS_Tests.ttcn b/bts/BTS_Tests.ttcn
index 58947c5..c0ec728 100644
--- a/bts/BTS_Tests.ttcn
+++ b/bts/BTS_Tests.ttcn
@@ -5728,7 +5728,7 @@
var PCUIF_RemoteAddr remote_addr := g_pcu_last_info.u.info_ind.remote_addr;
var template PCUIF_RemoteAddr tr_remote_addr := {
addr_type := { PCUIF_ADDR_TYPE_IPV4, ? },
- addr := { f_inet_addr("127.127.127.127"), ? }
+ addr := { f_pad_oct(f_inet_addr("127.127.127.127"), 16, '00'O), ? }
};
if (not match(remote_addr, tr_remote_addr)) {
@@ -5778,7 +5778,10 @@
var PCUIF_RemoteAddr remote_addr := info_ind.remote_addr;
var template PCUIF_RemoteAddr tr_remote_addr := {
addr_type := { PCUIF_ADDR_TYPE_IPV4, PCUIF_ADDR_TYPE_IPV6 },
- addr := { f_inet_addr("127.127.127.127"), f_inet6_addr("fd00::ca:ff:ee") }
+ addr := {
+ f_pad_oct(f_inet_addr("127.127.127.127"), 16, '00'O),
+ f_inet6_addr("fd00::ca:ff:ee")
+ }
};
if (not match(info_ind.nsvci, { 1234, 5678 }))
--
To view, visit https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/23482
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: I107039f1ff44ae8c41d690f5f293ed136c17586b
Gerrit-Change-Number: 23482
Gerrit-PatchSet: 1
Gerrit-Owner: fixeria <vyanitskiy at sysmocom.de>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20210324/8567a7df/attachment.htm>