]> git.puffer.fish Git - mirror/frr.git/commitdiff
doc: correct `ip rip split-horizon` command in the RIP documentation. 18189/head
authorShbinging <bingshui@smail.nju.edu.cn>
Mon, 17 Feb 2025 06:45:05 +0000 (14:45 +0800)
committerShbinging <bingshui@smail.nju.edu.cn>
Tue, 18 Feb 2025 07:37:19 +0000 (15:37 +0800)
The previous version incorrectly spelled the command as `ip split-horizon`. The correct command is `ip rip split-horizon`, as indicated in the code at line 675 of rip_cli.c.

Signed-off-by: Shbinging <bingshui@smail.nju.edu.cn>
doc/user/ripd.rst

index ea13dc92df169729d076cf86b9d6cf2b3efddad8..575eedf95224abdd92e54f1c1437c908260c8440 100644 (file)
@@ -149,12 +149,12 @@ RIP Configuration
 
    The default is to be passive on all interfaces.
 
-.. clicmd:: ip split-horizon [poisoned-reverse]
+.. clicmd:: ip rip split-horizon [poisoned-reverse]
 
 
-   Control split-horizon on the interface. Default is `ip split-horizon`. If
+   Control split-horizon on the interface. Default is `ip rip split-horizon`. If
    you don't perform split-horizon on the interface, please specify `no ip
-   split-horizon`.
+   rip split-horizon`.
 
    If `poisoned-reverse` is also set, the router sends the poisoned routes
    with highest metric back to the sending router.