diff options
| author | Quentin Young <qlyoung@cumulusnetworks.com> | 2017-08-08 17:10:23 -0400 |
|---|---|---|
| committer | Quentin Young <qlyoung@cumulusnetworks.com> | 2017-08-11 12:42:01 -0400 |
| commit | 9779e3f19368fe05199cddc3bc4029288c34be3f (patch) | |
| tree | 75e82daeba86fefd735f98f29b2f23c9148df572 /lib/command_graph.c | |
| parent | 841dcb24d76217a192a1566230100c26af9674d0 (diff) | |
lib: add CLI token for 48-bit mac addresses
Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
Diffstat (limited to 'lib/command_graph.c')
| -rw-r--r-- | lib/command_graph.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/command_graph.c b/lib/command_graph.c index dc7233c1fe..fce11a70cc 100644 --- a/lib/command_graph.c +++ b/lib/command_graph.c @@ -379,6 +379,8 @@ static void cmd_node_names(struct graph_node *gn, struct graph_node *join, case IPV4_PREFIX_TKN: case IPV6_TKN: case IPV6_PREFIX_TKN: + case MAC_TKN: + case MAC_PREFIX_TKN: if (!tok->varname && prevname) cmd_token_varname_set(tok, prevname); prevname = NULL; |
