From f15d236e3eee8e7cbdc184d401f33b062d1b1aac Mon Sep 17 00:00:00 2001 From: Neels Hofmeyr Date: Sat, 3 Jul 2021 17:21:52 +0200 Subject: vty: fix doc: default value for 'nri bitlen' The constant is called OSMO_NRI_BITLEN_DEFAULT, NRI_BITLEN_DEFAULT does not exist and got rendered as "NRI_BITLEN_DEFAULT" in the vty doc. Add missing vty test for 'nri bitlen'. Change-Id: I8af840a4589f47eaca6bf10e37e0859f9ae53dfa --- src/osmo-bsc/bsc_vty.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/osmo-bsc') diff --git a/src/osmo-bsc/bsc_vty.c b/src/osmo-bsc/bsc_vty.c index 8ba55e6d0..7207341a1 100644 --- a/src/osmo-bsc/bsc_vty.c +++ b/src/osmo-bsc/bsc_vty.c @@ -2326,7 +2326,7 @@ DEFUN_ATTR(cfg_net_nri_bitlen, "nri bitlen <1-15>", NRI_STR "Set number of bits that an NRI has, to extract from TMSI identities (always starting just after the TMSI's most significant octet).\n" - "bit count (default: " OSMO_STRINGIFY_VAL(NRI_BITLEN_DEFAULT) ")\n", + "bit count (default: " OSMO_STRINGIFY_VAL(OSMO_NRI_BITLEN_DEFAULT) ")\n", CMD_ATTR_IMMEDIATE) { struct gsm_network *gsmnet = gsmnet_from_vty(vty); -- cgit v1.2.3