This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "SCCP Library".
The branch, pre_release has been created
at ad2db7aedd625da964c6856056fcd16519dbc3b7 (commit)
- Log -----------------------------------------------------------------
http://cgit.osmocom.org/libosmo-sccp/commit/?id=ad2db7aedd625da964c6856056f…
commit ad2db7aedd625da964c6856056fcd16519dbc3b7
Author: Neels Hofmeyr <nhofmeyr(a)sysmocom.de>
Date: Thu Jul 27 17:33:06 2017 +0200
cosmetic: ws in log
Change-Id: If5a56ec170d4e91ce070f6fa9c9cfe5bbc121186
http://cgit.osmocom.org/libosmo-sccp/commit/?id=fd63ccca545fdeebd2a621ac41f…
commit fd63ccca545fdeebd2a621ac41fc5f5d9c1b2d80
Author: Neels Hofmeyr <nhofmeyr(a)sysmocom.de>
Date: Wed Jul 26 18:15:47 2017 +0200
sccp_helpers: check buf len in append_to_buf()
Change-Id: I2e6d656871f952be8e719573fedf2154832841d7
http://cgit.osmocom.org/libosmo-sccp/commit/?id=75ed8def84103db9a3ae22d5ebc…
commit 75ed8def84103db9a3ae22d5ebce8d2cb84aacc8
Author: Neels Hofmeyr <nhofmeyr(a)sysmocom.de>
Date: Thu Jul 27 13:53:03 2017 +0200
sccp-addr vty: set RI to SSN_PC when setting a point-code
Change-Id: I75c67d289693f1c2a049ac61cf2b2097d6e5687d
http://cgit.osmocom.org/libosmo-sccp/commit/?id=b75258e51a4efb6cff2f3e956b5…
commit b75258e51a4efb6cff2f3e956b50fa020233c6c2
Author: Neels Hofmeyr <nhofmeyr(a)sysmocom.de>
Date: Thu Jul 27 15:22:06 2017 +0200
fix osmo_sccp_addr_dump(): actually print RI
Adjust xua_test accordingly.
Change-Id: I93e0aa706867e7b1de7f7a6071e3c8af89772af0
http://cgit.osmocom.org/libosmo-sccp/commit/?id=3c3f70a2457f437f07836280eae…
commit 3c3f70a2457f437f07836280eaebe9f5c6a7514c
Author: Neels Hofmeyr <nhofmeyr(a)sysmocom.de>
Date: Wed Jul 26 18:07:53 2017 +0200
add osmo_sccp_addr_name() and three value_string[]s
osmo_sccp_addr_dump() just prints the raw values. In osmo_sccp_addr_name(), use
osmo_ss7_pointcode_print() and newly added RI, SSN and GT value_string[] to
print more human readable log output.
Change-Id: Ie1aedd7894acd69ddc887cd65a8a0df4b888838c
http://cgit.osmocom.org/libosmo-sccp/commit/?id=02f7c45b69c9f2d71b34eef059a…
commit 02f7c45b69c9f2d71b34eef059a43929a831d65e
Author: Neels Hofmeyr <nhofmeyr(a)sysmocom.de>
Date: Thu Jul 27 13:51:46 2017 +0200
introduce OSMO_SCCP_RI_NONE to indicate unset RI
Allows to automatically set an RI in future change
I75c67d289693f1c2a049ac61cf2b2097d6e5687d
"sccp-addr vty: set RI to SSN_PC when setting a point-code"
Change-Id: I6e2f31b023b08cba2f2ee8234e6108efcaca41c0
http://cgit.osmocom.org/libosmo-sccp/commit/?id=b35f6d1c1e81a3d4187915234ca…
commit b35f6d1c1e81a3d4187915234ca332fc26a0858b
Author: Neels Hofmeyr <nhofmeyr(a)sysmocom.de>
Date: Thu Jul 27 13:50:31 2017 +0200
constify ss7_instance arg of osmo_ss7_pointcode_print()
Change-Id: I8c6b7188d004033e75e9c41f4a65c418d13a79c5
http://cgit.osmocom.org/libosmo-sccp/commit/?id=06956848a3ec1b64c6bb3d71abd…
commit 06956848a3ec1b64c6bb3d71abde8db44440d80f
Author: Neels Hofmeyr <nhofmeyr(a)sysmocom.de>
Date: Wed Jul 26 17:31:53 2017 +0200
ensure valid primary_pc in osmo_ss7_instance
Add osmo_ss7_instance.cfg.primary_pc_valid flag.
Adjust all code paths setting primary_pc to also set primary_pc_valid.
Adjust all code paths using primary_pc to ensure it is indeed valid.
Rationale:
It looks like we are going to use the primary point-code of an SS7 instance to
derive a local SCCP address, e.g. for osmo-bsc and osmo-hnbgw.
cs7-instance 1
point-code 1.2.3 ! sets osmo_ss7_instance.primary_pc = 1.2.3
sccp-address msc
point-code 0.0.1
routing-indicator PC
hnb
iucs
remote-addr msc ! derives cs7 instance 1 and local pc 1.2.3
If 'point-code 1.2.3' is omitted, this becomes '0.0.0' without the
user
noticing, and this happens for each client that omits it. I would like to barf
when no local PC is set, but since 0 is apparently a valid point-code and
osmo_ss7_instance.primary_pc is a uint32_t, we have no way to tell whether the
user supplied a point-code or not.
Currently, in osmo_ss7_vty.c we had "if (inst->cfg.primary_pc)"
suggesting 0
is invalid, but in struct osmo_sccp_user we have flag pc_valid suggesting 0 is
indeed valid. I chose to adopt a primary_pc_valid flag like osmo_sccp_user.
Change-Id: I7f0f0c89b7335d9da24161bfac8234be214ca00c
http://cgit.osmocom.org/libosmo-sccp/commit/?id=41b6803fd5d69b3a0f126e75d77…
commit 41b6803fd5d69b3a0f126e75d7734425c57644ee
Author: Neels Hofmeyr <nhofmeyr(a)sysmocom.de>
Date: Thu Jul 27 14:33:46 2017 +0200
osmo_ss7_vty_init: ensure a talloc ctx is set by user
Drop the separate osmo_ss7_set_vty_alloc_ctx() because we are likely to forget
calling it. Instead, incorporate into osmo_ss7_vty_init_*() with a new ctx arg,
and set the static context var in vty_init_shared().
Change-Id: Id4e7f47979001f7856b0b3665c9e94982e75e490
http://cgit.osmocom.org/libosmo-sccp/commit/?id=473048d0d26f2ac06eec5ce6346…
commit 473048d0d26f2ac06eec5ce6346967eb293492be
Author: Neels Hofmeyr <nhofmeyr(a)sysmocom.de>
Date: Thu Jul 27 13:51:20 2017 +0200
add osmo_sccp_addr_set_ssn()
Will be used by e.g. osmo-hnbgw to add an SSN to addresses obtained from the
sccp address book.
Change-Id: I85b46269dbe7909e52873ace3f720f6292a4516c
-----------------------------------------------------------------------
hooks/post-receive
--
SCCP Library