summaryrefslogtreecommitdiff
path: root/src/udev/net/link-config.h
diff options
context:
space:
mode:
authorJacob Keller <jacob.keller@gmail.com>2015-10-05 14:14:45 -0700
committerJacob Keller <jacob.keller@gmail.com>2015-10-05 15:55:25 -0700
commit66d3752e812915a549ebee01769ee761c1495667 (patch)
tree7bd93a579f4cae53338111b47793418c5469bccb /src/udev/net/link-config.h
parentc51abd80cf774815f57817da527639081d7002f4 (diff)
document ability to disable MACAddressPolicy
While it is currently possible to either not set MACAddressPolicy or set it to a value different from "persistent" or "random", it is not obvious that a user can do so. Add a policy, "none", which simply retains kernel MAC addresses (same as not filling in the policy at all) and document it so that users are aware of this setting. Signed-off-by: Jacob Keller <jacob.keller@gmail.com>
Diffstat (limited to 'src/udev/net/link-config.h')
-rw-r--r--src/udev/net/link-config.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/udev/net/link-config.h b/src/udev/net/link-config.h
index 9875057e84..c52db2ce55 100644
--- a/src/udev/net/link-config.h
+++ b/src/udev/net/link-config.h
@@ -32,6 +32,7 @@ typedef struct link_config link_config;
typedef enum MACPolicy {
MACPOLICY_PERSISTENT,
MACPOLICY_RANDOM,
+ MACPOLICY_NONE,
_MACPOLICY_MAX,
_MACPOLICY_INVALID = -1
} MACPolicy;