summaryrefslogtreecommitdiffstats
path: root/lib/if_rmap.c
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-27 04:24:32 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-27 04:24:32 +0000
commit35cadacd2bb9383686753731e31bd7e145fb2506 (patch)
tree4489adbde75a837989533837185b2b8369a0bf68 /lib/if_rmap.c
parentAdding debian version 9.1-0.1. (diff)
downloadfrr-35cadacd2bb9383686753731e31bd7e145fb2506.tar.xz
frr-35cadacd2bb9383686753731e31bd7e145fb2506.zip
Merging upstream version 10.0.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'lib/if_rmap.c')
-rw-r--r--lib/if_rmap.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/lib/if_rmap.c b/lib/if_rmap.c
index 42e1620..5fe5061 100644
--- a/lib/if_rmap.c
+++ b/lib/if_rmap.c
@@ -243,14 +243,14 @@ DEFPY_YANG(no_if_ipv6_route_map, no_if_ipv6_route_map_cmd,
void cli_show_if_route_map(struct vty *vty, const struct lyd_node *dnode,
bool show_defaults)
{
- if (yang_dnode_exists(dnode, "./in-route-map"))
+ if (yang_dnode_exists(dnode, "in-route-map"))
vty_out(vty, " route-map %s in %s\n",
- yang_dnode_get_string(dnode, "./in-route-map"),
- yang_dnode_get_string(dnode, "./interface"));
- if (yang_dnode_exists(dnode, "./out-route-map"))
+ yang_dnode_get_string(dnode, "in-route-map"),
+ yang_dnode_get_string(dnode, "interface"));
+ if (yang_dnode_exists(dnode, "out-route-map"))
vty_out(vty, " route-map %s out %s\n",
- yang_dnode_get_string(dnode, "./out-route-map"),
- yang_dnode_get_string(dnode, "./interface"));
+ yang_dnode_get_string(dnode, "out-route-map"),
+ yang_dnode_get_string(dnode, "interface"));
}
void if_rmap_yang_modify_cb(struct if_rmap_ctx *ctx,