diff options
author | Quentin Young <qlyoung@cumulusnetworks.com> | 2017-08-08 23:10:23 +0200 |
---|---|---|
committer | Quentin Young <qlyoung@cumulusnetworks.com> | 2017-08-11 18:42:01 +0200 |
commit | 9779e3f19368fe05199cddc3bc4029288c34be3f (patch) | |
tree | 75e82daeba86fefd735f98f29b2f23c9148df572 /lib/command_graph.c | |
parent | Merge pull request #953 from jbonor/nhrpd-fixes (diff) | |
download | frr-9779e3f19368fe05199cddc3bc4029288c34be3f.tar.xz frr-9779e3f19368fe05199cddc3bc4029288c34be3f.zip |
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 dc7233c1f..fce11a70c 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; |