diff options
| author | David Lamparter <equinox@diac24.net> | 2017-08-15 11:09:15 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-08-15 11:09:15 +0200 |
| commit | 24fb3b187384563e59f2bfec60d8f9354d48ef53 (patch) | |
| tree | bb64ffd2625cccafb9eb3b5fbf4d4586db505a61 /lib/command_graph.c | |
| parent | 7e4f56d349f75ab07e70bf4edcd28085eb4cfcc6 (diff) | |
| parent | 473196f613514b5bfb10ec8396b310911869e05b (diff) | |
Merge pull request #934 from qlyoung/mac-parser
lib: add CLI token for 48-bit mac addresses
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; |
