summaryrefslogtreecommitdiff
path: root/lib/command_py.c
diff options
context:
space:
mode:
authorDavid Lamparter <equinox@diac24.net>2017-08-15 11:09:15 +0200
committerGitHub <noreply@github.com>2017-08-15 11:09:15 +0200
commit24fb3b187384563e59f2bfec60d8f9354d48ef53 (patch)
treebb64ffd2625cccafb9eb3b5fbf4d4586db505a61 /lib/command_py.c
parent7e4f56d349f75ab07e70bf4edcd28085eb4cfcc6 (diff)
parent473196f613514b5bfb10ec8396b310911869e05b (diff)
Merge pull request #934 from qlyoung/mac-parser
lib: add CLI token for 48-bit mac addresses
Diffstat (limited to 'lib/command_py.c')
-rw-r--r--lib/command_py.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/command_py.c b/lib/command_py.c
index 785d2ffa70..755cfb55ce 100644
--- a/lib/command_py.c
+++ b/lib/command_py.c
@@ -199,6 +199,8 @@ static PyObject *graph_to_pyobj(struct wrap_graph *wgraph,
item(IPV4_PREFIX_TKN) // IPV4 network prefixes
item(IPV6_TKN) // IPV6 prefixes
item(IPV6_PREFIX_TKN) // IPV6 network prefixes
+ item(MAC_TKN) // MAC address
+ item(MAC_PREFIX_TKN) // MAC address with mask
/* plumbing types */
item(FORK_TKN) item(JOIN_TKN) item(START_TKN)