diff mbox series

[iproute2,1/6] man8/bridge.8: document the "permanent" flag for "bridge fdb add"

Message ID 20210211104502.2081443-2-olteanv@gmail.com
State New
Headers show
Series Clarifications to bridge man page | expand

Commit Message

Vladimir Oltean Feb. 11, 2021, 10:44 a.m. UTC
From: Vladimir Oltean <vladimir.oltean@nxp.com>

The bridge program parses "local" and "permanent" in just the same way,
so it makes sense to tell that to users:

fdb_modify:
		} else if (matches(*argv, "local") == 0 ||
			   matches(*argv, "permanent") == 0) {
			req.ndm.ndm_state |= NUD_PERMANENT;

Signed-off-by: Vladimir Oltean <vladimir.oltean@nxp.com>
---
 man/man8/bridge.8 | 4 ++++
 1 file changed, 4 insertions(+)
diff mbox series

Patch

diff --git a/man/man8/bridge.8 b/man/man8/bridge.8
index b3414ae31faf..12c09a56563d 100644
--- a/man/man8/bridge.8
+++ b/man/man8/bridge.8
@@ -517,6 +517,10 @@  the interface to which this address is associated.
 - is a local permanent fdb entry
 .sp
 
+.B permanent
+- this is a synonym for "local"
+.sp
+
 .B static
 - is a static (no arp) fdb entry
 .sp