<p>lynxis lazus has uploaded this change for <strong>review</strong>.</p><p><a href="https://gerrit.osmocom.org/c/libosmocore/+/19139">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">vty: add a define CMD_IPV46 to require a IPv4/6 address<br><br>Allow to use this define in vty definitions when a IPV4/6 address<br>is required as argument.<br><br>Change-Id: I86e399aea86b68b48e627f11e1de48fdfad16525<br>---<br>M include/osmocom/vty/command.h<br>1 file changed, 2 insertions(+), 0 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://gerrit.osmocom.org:29418/libosmocore refs/changes/39/19139/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/include/osmocom/vty/command.h b/include/osmocom/vty/command.h</span><br><span>index 88490f7..932acfe 100644</span><br><span>--- a/include/osmocom/vty/command.h</span><br><span>+++ b/include/osmocom/vty/command.h</span><br><span>@@ -304,6 +304,8 @@</span><br><span> #define CMD_IPV6(S)        ((strcmp ((S), "X:X::X:X") == 0))</span><br><span> #define CMD_IPV6_PREFIX(S) ((strcmp ((S), "X:X::X:X/M") == 0))</span><br><span> </span><br><span style="color: hsl(120, 100%, 40%);">+#define CMD_IPV46 "(A.B.C.D|X:X::X:X)"</span><br><span style="color: hsl(120, 100%, 40%);">+</span><br><span> /* Common descriptions. */</span><br><span> #define SHOW_STR "Show running system information\n"</span><br><span> #define IP_STR "IP information\n"</span><br><span></span><br></pre><p>To view, visit <a href="https://gerrit.osmocom.org/c/libosmocore/+/19139">change 19139</a>. To unsubscribe, or for help writing mail filters, visit <a href="https://gerrit.osmocom.org/settings">settings</a>.</p><div itemscope itemtype="http://schema.org/EmailMessage"><div itemscope itemprop="action" itemtype="http://schema.org/ViewAction"><link itemprop="url" href="https://gerrit.osmocom.org/c/libosmocore/+/19139"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: libosmocore </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-Change-Id: I86e399aea86b68b48e627f11e1de48fdfad16525 </div>
<div style="display:none"> Gerrit-Change-Number: 19139 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: lynxis lazus <lynxis@fe80.eu> </div>
<div style="display:none"> Gerrit-MessageType: newchange </div>