diff options
| author | Igor Ryzhov <iryzhov@nfware.com> | 2021-08-18 13:14:27 +0300 |
|---|---|---|
| committer | Igor Ryzhov <iryzhov@nfware.com> | 2021-08-26 19:43:23 +0300 |
| commit | c1e7a5e45e135ad8047b192893a544e986d244c3 (patch) | |
| tree | 661b6c9c0a4560f05483c31ba09335f9508e6947 /lib/routemap_cli.c | |
| parent | d448e2c5f96b3430fd643f52b9264ca87a45c291 (diff) | |
lib: make node_parent more generic
Instead of adding a separate case clause for every node, just find the
node structure in the global list and get its parent node from there.
Signed-off-by: Igor Ryzhov <iryzhov@nfware.com>
Diffstat (limited to 'lib/routemap_cli.c')
0 files changed, 0 insertions, 0 deletions
