]> git.ipfire.org Git - thirdparty/bird.git/commitdiff
Cleanup in show route import <p>.
authorOndrej Filip <feela@network.cz>
Mon, 7 Jun 2004 10:42:24 +0000 (10:42 +0000)
committerOndrej Filip <feela@network.cz>
Mon, 7 Jun 2004 10:42:24 +0000 (10:42 +0000)
doc/bird.sgml
nest/config.Y

index dc117acb364b9accbba3b2ea108c3c0215ec50b5..6680c1efac88bb0364ae35ac616cfad330a08edf 100644 (file)
@@ -350,7 +350,7 @@ BIRD and <file/birdc/ is stable (see the programmer's documentation).
        <tag>show symbols</tag>
        Show the list of symbols defined in the configuration (names of protocols, routing tables etc.).
 
-       <tag>show route [[for] <m/prefix/|<m/IP/] [table <m/sym/] [filter <m/f/|where <m/c/] [(import|proto) <m/p/] [<m/options/]</tag>
+       <tag>show route [[for] <m/prefix/|<m/IP/] [table <m/sym/] [filter <m/f/|where <m/c/] [(import|preimport) <m/p/] [<m/options/]</tag>
        Show contents of a routing table (by default of the main one),
        that is routes, their metrics and (in case the <cf/all/ switch is given)
        all their attributes.
@@ -365,9 +365,9 @@ BIRD and <file/birdc/ is stable (see the programmer's documentation).
        <p>You can also ask for printing only routes processed and accepted by
        a given filter (<cf>filter <m/name/</cf> or <cf>filter { <m/filter/ }
        </cf> or matching a given condition (<cf>where <m/condition/</cf>).
-       The <cf/import/ and <cf/proto/ switches ask for printing of entries as
-       they would be seen by the specified protocol. With <cf/import/, the
-       export filter of the protocol is skipped.
+       The <cf/import/ and <cf/preimport/ switches ask for printing of entries
+        that are imported to the specified protocol. With <cf/preimport/, the
+       import filter of the protocol is skipped.
 
        <p>The <cf/stats/ switch requests showing of route statistics (the
        number of networks, number of routes before and after filtering). If
index 1c5cf92da340cb8daefe142c34af93063a4aedc6..ae673aebae6f5aff0c96488d571832fb931914f5 100644 (file)
@@ -22,7 +22,7 @@ CF_DECLS
 CF_KEYWORDS(ROUTER, ID, PROTOCOL, PREFERENCE, DISABLED, DEBUG, ALL, OFF, DIRECT)
 CF_KEYWORDS(INTERFACE, IMPORT, EXPORT, FILTER, NONE, TABLE, STATES, ROUTES, FILTERS)
 CF_KEYWORDS(PASSWORD, FROM, PASSIVE, TO, ID, EVENTS, PACKETS, PROTOCOLS, INTERFACES)
-CF_KEYWORDS(PRIMARY, STATS, COUNT, FOR, COMMANDS)
+CF_KEYWORDS(PRIMARY, STATS, COUNT, FOR, COMMANDS, PREIMPORT)
 
 CF_ENUM(T_ENUM_RTS, RTS_, DUMMY, STATIC, INHERIT, DEVICE, STATIC_DEVICE, REDIRECT,
        RIP, OSPF, OSPF_EXT, OSPF_IA, OSPF_BOUNDARY, BGP, PIPE)
@@ -312,8 +312,8 @@ r_args:
  ;
 
 import_or_proto:
-   IMPORT { $$ = 1; }
- | PROTOCOL { $$ = 2; }
+   PREIMPORT { $$ = 1; }
+ | IMPORT { $$ = 2; }
  ;
 
 CF_CLI(SHOW SYMBOLS, optsym, [<symbol>], [[Show all known symbolic names]])