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-25 18:13:58 +0400
commit4fe20b3f7d13252348e7efaedbaa8f10456cfd52 (patch)
treeb10d630bbd7e70701b2b8f829cdb701446ab290a
parent74ffab30c360e2a603247f574577b3a8a74db4b2 (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 d73d996b..0224fe68 100644
--- a/ospf6d/ospf6_area.c
+++ b/ospf6d/ospf6_area.c
@@ -419,6 +419,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);
}
}