]> git.proxmox.com Git - mirror_frr.git/commitdiff
ospf6d: add lost lines to area config block
authorJon Andersson <jonirucoeith@gmail.com>
Tue, 13 Sep 2011 11:47:14 +0000 (15:47 +0400)
committerDenis Ovsienko <infrastation@yandex.ru>
Tue, 27 Sep 2011 17:02:41 +0000 (21:02 +0400)
* ospf6_area.c
  * ospf6_area_config_write(): write filter-list, import-list and
    export-list lines

ospf6d/ospf6_area.c

index 7d8824d7e32a7cdd0d139cea9e4054dee85a4b52..9934e6b9c79d598802aa0c9dedf1fda01abc1ee6 100644 (file)
@@ -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);
     }
 }