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/.
lynxis lazus gerrit-no-reply at lists.osmocom.orglynxis lazus has uploaded this change for review. ( https://gerrit.osmocom.org/c/libosmocore/+/19139 ) Change subject: vty: add a define CMD_IPV46 to require a IPv4/6 address ...................................................................... vty: add a define CMD_IPV46 to require a IPv4/6 address Allow to use this define in vty definitions when a IPV4/6 address is required as argument. Change-Id: I86e399aea86b68b48e627f11e1de48fdfad16525 --- M include/osmocom/vty/command.h 1 file changed, 2 insertions(+), 0 deletions(-) git pull ssh://gerrit.osmocom.org:29418/libosmocore refs/changes/39/19139/1 diff --git a/include/osmocom/vty/command.h b/include/osmocom/vty/command.h index 88490f7..932acfe 100644 --- a/include/osmocom/vty/command.h +++ b/include/osmocom/vty/command.h @@ -304,6 +304,8 @@ #define CMD_IPV6(S) ((strcmp ((S), "X:X::X:X") == 0)) #define CMD_IPV6_PREFIX(S) ((strcmp ((S), "X:X::X:X/M") == 0)) +#define CMD_IPV46 "(A.B.C.D|X:X::X:X)" + /* Common descriptions. */ #define SHOW_STR "Show running system information\n" #define IP_STR "IP information\n" -- To view, visit https://gerrit.osmocom.org/c/libosmocore/+/19139 To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings Gerrit-Project: libosmocore Gerrit-Branch: master Gerrit-Change-Id: I86e399aea86b68b48e627f11e1de48fdfad16525 Gerrit-Change-Number: 19139 Gerrit-PatchSet: 1 Gerrit-Owner: lynxis lazus <lynxis at fe80.eu> Gerrit-MessageType: newchange -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20200705/70e97a41/attachment.htm>