diff options
| author | Mark Stapp <mjs@voltanet.io> | 2021-06-04 13:41:55 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-06-04 13:41:55 -0400 |
| commit | e4768d32b82f0054192f1bf1a455f5fd4e5d895e (patch) | |
| tree | 7f16a15f33ce2356bf013dad4ac8eb82c0e25576 /lib/command.c | |
| parent | dd553fb39b02cd4391d50ffb84b45da7248906ed (diff) | |
| parent | 2ba6be5b24c9c572d167248004fb1e3c4b57e0a2 (diff) | |
Merge pull request #5865 from slankdev/slankdev-zebra-srv6-manager
zebra: srv6 manager
Diffstat (limited to 'lib/command.c')
| -rw-r--r-- | lib/command.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/lib/command.c b/lib/command.c index 5cf1a4f57a..c955087437 100644 --- a/lib/command.c +++ b/lib/command.c @@ -889,6 +889,15 @@ enum node_type node_parent(enum node_type node) case PCEP_PCC_NODE: ret = PCEP_NODE; break; + case SRV6_NODE: + ret = SEGMENT_ROUTING_NODE; + break; + case SRV6_LOCS_NODE: + ret = SRV6_NODE; + break; + case SRV6_LOC_NODE: + ret = SRV6_LOCS_NODE; + break; default: ret = CONFIG_NODE; break; |
