diff options
-rw-r--r-- | ospf6d/ospf6_area.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/ospf6d/ospf6_area.c b/ospf6d/ospf6_area.c index 3bfc0cae..3c999bbc 100644 --- a/ospf6d/ospf6_area.c +++ b/ospf6d/ospf6_area.c @@ -353,6 +353,12 @@ DEFUN (area_range, UNSET_FLAG (range->flag, OSPF6_ROUTE_DO_NOT_ADVERTISE); } + if (range->rnode) + { + vty_out (vty, "Range already defined: %s%s", argv[-1], VNL); + return CMD_WARNING; + } + ospf6_route_add (range, oa->range_table); return CMD_SUCCESS; } |