]> git.proxmox.com Git - mirror_frr.git/blobdiff - lib/command_py.c
isisd: implemented the 'sequence-number-skipped' notification
[mirror_frr.git] / lib / command_py.c
index be4c39a36139c48466d981cd266466df1105a110..58b7982665571a927b3cb0951ed622b2573f95a9 100644 (file)
@@ -199,11 +199,13 @@ 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)
                                        item(END_TKN) default
-                           : wrap->type = "???";
+                               : wrap->type = "???";
                }
 
                wrap->deprecated = (tok->attr == CMD_ATTR_DEPRECATED);
@@ -248,6 +250,8 @@ static PyObject *graph_parse(PyTypeObject *type, PyObject *args,
 static void graph_wrap_free(void *arg)
 {
        struct wrap_graph *wgraph = arg;
+
+       graph_delete_graph(wgraph->graph);
        free(wgraph->nodewrappers);
        free(wgraph->definition);
 }