Skip to content

Commit

Permalink
Merge pull request #5579 from donaldsharp/pim_ip_mroute_last
Browse files Browse the repository at this point in the history
vtysh: Ensure interface `ip mroute ...` commands are last
  • Loading branch information
Jafaral authored Dec 22, 2019
2 parents 1a457dc + c552f61 commit 7655aa3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions vtysh/vtysh_config.c
Original file line number Diff line number Diff line change
Expand Up @@ -262,6 +262,8 @@ void vtysh_config_parse_line(void *arg, const char *line)
|| !strncmp(line, " no vrrp",
strlen(" no vrrp"))) {
config_add_line(config->line, line);
} else if (!strncmp(line, " ip mroute", strlen(" ip mroute"))) {
config_add_line_uniq_end(config->line, line);
} else if (config->index == RMAP_NODE
|| config->index == INTERFACE_NODE
|| config->index == VTY_NODE
Expand Down

0 comments on commit 7655aa3

Please sign in to comment.