summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJon Andersson <jonirucoeith@gmail.com>2011-09-13 15:47:14 +0400
committerDenis Ovsienko <infrastation@yandex.ru>2011-09-27 21:02:41 +0400
commit5fdaa04e635fdef7deca9bdfe1be4b60ec90add6 (patch)
tree77e76c6bf353685dc9c13698b79b16f68aca3232
parent75d044d234d1826db729f9ca580c966a028dbfc3 (diff)
ospf6d: add lost lines to area config block
* ospf6_area.c * ospf6_area_config_write(): write filter-list, import-list and export-list lines
-rw-r--r--ospf6d/ospf6_area.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/ospf6d/ospf6_area.c b/ospf6d/ospf6_area.c
index 7d8824d7..9934e6b9 100644
--- a/ospf6d/ospf6_area.c
+++ b/ospf6d/ospf6_area.c
@@ -420,6 +420,18 @@ ospf6_area_config_write (struct vty *vty)
prefix2str (&range->prefix, buf, sizeof (buf));
vty_out (vty, " area %s range %s%s", oa->name, buf, VNL);
}
+ if (PREFIX_NAME_IN (oa))
+ vty_out (vty, " area %s filter-list prefix %s in%s",
+ oa->name, PREFIX_NAME_IN (oa), VNL);
+ if (PREFIX_NAME_OUT (oa))
+ vty_out (vty, " area %s filter-list prefix %s out%s",
+ oa->name, PREFIX_NAME_OUT (oa), VNL);
+ if (IMPORT_NAME (oa))
+ vty_out (vty, " area %s import-list %s%s",
+ oa->name, IMPORT_NAME (oa), VNL);
+ if (EXPORT_NAME (oa))
+ vty_out (vty, " area %s export-list %s%s",
+ oa->name, EXPORT_NAME (oa), VNL);
}
}