]> git.puffer.fish 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>
Sun, 25 Sep 2011 14:13:58 +0000 (18:13 +0400)
* ospf6_area.c
  * ospf6_area_config_write(): write filter-list, import-list and
    export-list lines

ospf6d/ospf6_area.c

index d73d996b144e883a48ee664ecb36bdd96dac2019..0224fe68c5c0a29c5c16adbc12edd06396d9bdf3 100644 (file)
@@ -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);
     }
 }