]> git.ipfire.org Git - thirdparty/iproute2.git/commitdiff
man8/bridge.8: document that "local" is default for "bridge fdb add"
authorVladimir Oltean <vladimir.oltean@nxp.com>
Thu, 11 Feb 2021 10:44:58 +0000 (12:44 +0200)
committerStephen Hemminger <stephen@networkplumber.org>
Mon, 22 Feb 2021 19:19:38 +0000 (11:19 -0800)
The bridge does this:

fdb_modify:
/* Assume permanent */
if (!(req.ndm.ndm_state&(NUD_PERMANENT|NUD_REACHABLE)))
req.ndm.ndm_state |= NUD_PERMANENT;

So let's make the user aware of the fact that if they don't want local
entries, they need to specify some other flag like "static".

Signed-off-by: Vladimir Oltean <vladimir.oltean@nxp.com>
Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
man/man8/bridge.8

index 12c09a56563dcc749d5bcf055026d68c55ac9b0c..223e65d64757c02bb92322a63e14d00e132edf98 100644 (file)
@@ -514,7 +514,8 @@ the Ethernet MAC address.
 the interface to which this address is associated.
 
 .B local
-- is a local permanent fdb entry
+- is a local permanent fdb entry. This flag is default unless "static" or
+  "dynamic" are explicitly specified.
 .sp
 
 .B permanent