summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Haller <thaller@redhat.com>2016-07-06 10:35:30 +0200
committerThomas Haller <thaller@redhat.com>2016-07-06 14:55:54 +0200
commit5cbe89a270ad57b8354edc43afee13d4b2689ac5 (patch)
tree53d5ba7a9a27ada405070564bc303b6870b31c4e
parentab8685ae62c7868a98e266271feb1c064eb169b0 (diff)
downloadNetworkManager-bg/bond-options-validate-bgo767776.tar.gz
fixup! bond: improve compatibility check of options and modesbg/bond-options-validate-bgo767776
-rw-r--r--libnm-core/nm-setting-bond.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libnm-core/nm-setting-bond.c b/libnm-core/nm-setting-bond.c
index 6178289577..a82d0d792c 100644
--- a/libnm-core/nm-setting-bond.c
+++ b/libnm-core/nm-setting-bond.c
@@ -499,7 +499,7 @@ _nm_setting_bond_mode_from_string (const char *str)
#define BIT(x) (1 << (x))
-struct {
+const static struct {
const char *option;
NMBondMode unsupp_modes;
} bond_unsupp_modes[] = {