jolly has submitted this change. ( https://gerrit.osmocom.org/c/libosmocore/+/43694?usp=email ) Change subject: Fix "Add new VTY node for libosmo-octoi" ...................................................................... Fix "Add new VTY node for libosmo-octoi" This fixes the commit 0632389e510f0241fe76bd9f8fb6854384da6f3c. Keep reserved node names using defines. This allows to build older version of libosmo-octoi, which still use the reserved node names. Use the same reserved node names that were used on older versions of libosmo-octoi, so that it does not break the ABI. Therefore move the recently added L_CS7_QOS_CLASS_NODE after the four node names for libosmo-octoi. Change-Id: I8b413d69a2090625265dafba2912fc025ac3cfe3 --- M include/osmocom/vty/command.h 1 file changed, 7 insertions(+), 2 deletions(-) Approvals: pespin: Looks good to me, but someone else must approve Jenkins Builder: Verified osmith: Looks good to me, approved diff --git a/include/osmocom/vty/command.h b/include/osmocom/vty/command.h index 4531996..22c2ac8 100644 --- a/include/osmocom/vty/command.h +++ b/include/osmocom/vty/command.h @@ -103,14 +103,19 @@ L_NS_BIND_NODE, /*!< NS bind node */ L_NS_NSE_NODE, /*!< NS NSE node */ - L_CS7_QOS_CLASS_NODE, /*!< SS7 QoS Class */ - + #define RESERVED1_NODE L_OCTOI_SRV_NODE L_OCTOI_SRV_NODE, /*!< OCTOI server node */ + #define RESERVED2_NODE L_OCTOI_ACCOUNT_NODE L_OCTOI_ACCOUNT_NODE, /*!< OCTOI server account node */ + #define RESERVED3_NODE L_OCTOI_CLNT_NODE L_OCTOI_CLNT_NODE, /*!< OCTOI client node */ + #define RESERVED4_NODE L_OCTOI_CLNT_ACCOUNT_NODE L_OCTOI_CLNT_ACCOUNT_NODE, /*!< OCTOI client account node */ + #define RESERVED5_NODE L_CS7_QOS_CLASS_NODE + L_CS7_QOS_CLASS_NODE, /*!< SS7 QoS Class */ + /* * When adding new nodes to the libosmocore project, these nodes can be * used to avoid ABI changes for unrelated projects. -- To view, visit https://gerrit.osmocom.org/c/libosmocore/+/43694?usp=email To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email Gerrit-MessageType: merged Gerrit-Project: libosmocore Gerrit-Branch: master Gerrit-Change-Id: I8b413d69a2090625265dafba2912fc025ac3cfe3 Gerrit-Change-Number: 43694 Gerrit-PatchSet: 2 Gerrit-Owner: jolly <andreas@eversberg.eu> Gerrit-Reviewer: Jenkins Builder Gerrit-Reviewer: jolly <andreas@eversberg.eu> Gerrit-Reviewer: laforge <laforge@osmocom.org> Gerrit-Reviewer: osmith <osmith@sysmocom.de> Gerrit-Reviewer: pespin <pespin@sysmocom.de>