diff options
author | Donald Sharp <sharpd@cumulusnetworks.com> | 2020-07-16 02:17:39 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-07-16 02:17:39 +0200 |
commit | 249df50a203faecf099faaeb3f41a4beb5029589 (patch) | |
tree | aaafe3375f566f79d52c51f35263749c38322cb5 /ospfd | |
parent | Merge pull request #6731 from opensourcerouting/style-string-prep (diff) | |
parent | ospfd: set display format for range command (diff) | |
download | frr-249df50a203faecf099faaeb3f41a4beb5029589.tar.xz frr-249df50a203faecf099faaeb3f41a4beb5029589.zip |
Merge pull request #6701 from deastoe/ospf-area-format
ospf: set display format for range command
Diffstat (limited to 'ospfd')
-rw-r--r-- | ospfd/ospf_vty.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ospfd/ospf_vty.c b/ospfd/ospf_vty.c index c5557bc7a..08736b555 100644 --- a/ospfd/ospf_vty.c +++ b/ospfd/ospf_vty.c @@ -697,6 +697,8 @@ DEFUN (ospf_area_range, str2prefix_ipv4(argv[idx_ipv4_prefixlen]->arg, &p); ospf_area_range_set(ospf, area_id, &p, OSPF_AREA_RANGE_ADVERTISE); + ospf_area_display_format_set(ospf, ospf_area_get(ospf, area_id), + format); if (argc > 5) { cost = strtoul(argv[idx_cost]->arg, NULL, 10); ospf_area_range_cost_set(ospf, area_id, &p, cost); |