|
|
049c96 |
From 080e795a1ae29f78cbec9f18837a9b6f84fea55f Mon Sep 17 00:00:00 2001
|
|
|
049c96 |
From: Phil Sutter <psutter@redhat.com>
|
|
|
049c96 |
Date: Thu, 25 Feb 2016 12:53:31 +0100
|
|
|
049c96 |
Subject: [PATCH] fix indentation of ip neighbour man page
|
|
|
049c96 |
|
|
|
049c96 |
Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=1276661
|
|
|
049c96 |
Upstream Status: iproute2.git commit 882e754cd4b3f
|
|
|
049c96 |
|
|
|
049c96 |
commit 882e754cd4b3f302714bae777ee674fe6c61d04b
|
|
|
049c96 |
Author: Stephen Hemminger <stephen@networkplumber.org>
|
|
|
049c96 |
Date: Mon Mar 31 20:23:40 2014 -0700
|
|
|
049c96 |
|
|
|
049c96 |
fix indentation of ip neighbour man page
|
|
|
049c96 |
|
|
|
049c96 |
Formatting was awful and unclear on ip neighbour
|
|
|
049c96 |
---
|
|
|
049c96 |
man/man8/ip-neighbour.8 | 30 ++++++++++++++----------------
|
|
|
049c96 |
1 file changed, 14 insertions(+), 16 deletions(-)
|
|
|
049c96 |
|
|
|
049c96 |
diff --git a/man/man8/ip-neighbour.8 b/man/man8/ip-neighbour.8
|
|
|
049c96 |
index c94c654..19c6d9d 100644
|
|
|
049c96 |
--- a/man/man8/ip-neighbour.8
|
|
|
049c96 |
+++ b/man/man8/ip-neighbour.8
|
|
|
049c96 |
@@ -60,7 +60,7 @@ change an existing entry
|
|
|
049c96 |
.TP
|
|
|
049c96 |
ip neighbour replace
|
|
|
049c96 |
add a new entry or change an existing one
|
|
|
049c96 |
-
|
|
|
049c96 |
+.RS
|
|
|
049c96 |
.PP
|
|
|
049c96 |
These commands create new neighbour records or update existing ones.
|
|
|
049c96 |
|
|
|
049c96 |
@@ -105,11 +105,12 @@ This option to
|
|
|
049c96 |
.B ip neigh
|
|
|
049c96 |
does not change the neighbour state if it was valid and the address
|
|
|
049c96 |
is not changed by this command.
|
|
|
049c96 |
-.RS
|
|
|
049c96 |
-ip neighbour delete - delete a neighbour entry
|
|
|
049c96 |
.RE
|
|
|
049c96 |
-This command invalidates a neighbour entry.
|
|
|
049c96 |
|
|
|
049c96 |
+.TP
|
|
|
049c96 |
+ip neighbour delete
|
|
|
049c96 |
+delete a neighbour entry
|
|
|
049c96 |
+.RS
|
|
|
049c96 |
.PP
|
|
|
049c96 |
The arguments are the same as with
|
|
|
049c96 |
.BR "ip neigh add" ,
|
|
|
049c96 |
@@ -128,13 +129,12 @@ Particularly, the kernel may try to resolve this address even
|
|
|
049c96 |
on a
|
|
|
049c96 |
.B NOARP
|
|
|
049c96 |
interface or if the address is multicast or broadcast.
|
|
|
049c96 |
-
|
|
|
049c96 |
-.RS
|
|
|
049c96 |
-ip neighbour show - list neighbour entries
|
|
|
049c96 |
.RE
|
|
|
049c96 |
|
|
|
049c96 |
-This command displays neighbour tables.
|
|
|
049c96 |
-
|
|
|
049c96 |
+.TP
|
|
|
049c96 |
+ip neighbour show
|
|
|
049c96 |
+list neighbour entries
|
|
|
049c96 |
+.RS
|
|
|
049c96 |
.TP
|
|
|
049c96 |
.BI to " ADDRESS " (default)
|
|
|
049c96 |
the prefix selecting the neighbours to list.
|
|
|
049c96 |
@@ -164,15 +164,12 @@ lists all entries except for
|
|
|
049c96 |
.B none
|
|
|
049c96 |
and
|
|
|
049c96 |
.BR "noarp" .
|
|
|
049c96 |
-
|
|
|
049c96 |
-.RS
|
|
|
049c96 |
-ip neighbour flush - flush neighbour entries
|
|
|
049c96 |
.RE
|
|
|
049c96 |
|
|
|
049c96 |
-This command flushes neighbour tables, selecting
|
|
|
049c96 |
-entries to flush by some criteria.
|
|
|
049c96 |
-
|
|
|
049c96 |
-.PP
|
|
|
049c96 |
+.TP
|
|
|
049c96 |
+ip neighbour flush
|
|
|
049c96 |
+flush neighbour entries
|
|
|
049c96 |
+.RS
|
|
|
049c96 |
This command has the same arguments as
|
|
|
049c96 |
.B show.
|
|
|
049c96 |
The differences are that it does not run when no arguments are given,
|
|
|
049c96 |
@@ -190,6 +187,7 @@ neighbour table. If the option is given
|
|
|
049c96 |
twice,
|
|
|
049c96 |
.B ip neigh flush
|
|
|
049c96 |
also dumps all the deleted neighbours.
|
|
|
049c96 |
+.RE
|
|
|
049c96 |
|
|
|
049c96 |
.SH EXAMPLES
|
|
|
049c96 |
.PP
|
|
|
049c96 |
--
|
|
|
049c96 |
1.8.3.1
|
|
|
049c96 |
|