diff options
author | Thomas Haller <thaller@redhat.com> | 2020-05-05 13:56:56 +0200 |
---|---|---|
committer | Thomas Haller <thaller@redhat.com> | 2020-05-08 08:02:51 +0200 |
commit | 7c22710c1730f9ef31089e73657eafd14314c733 (patch) | |
tree | 9a58890b0f12cc4b10a474737dd64f52c95e9fdb /src | |
parent | 42288df043497b6e881c0a8e4f35df1553bd5530 (diff) | |
download | NetworkManager-7c22710c1730f9ef31089e73657eafd14314c733.tar.gz |
libnm: use boolean values for range of NM_SETTING_BRIDGE_PORT_HAIRPIN_MODE in slave_options
Diffstat (limited to 'src')
-rw-r--r-- | src/devices/nm-device-bridge.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/devices/nm-device-bridge.c b/src/devices/nm-device-bridge.c index 0a8bc4f2e6..064dd8d2b8 100644 --- a/src/devices/nm-device-bridge.c +++ b/src/devices/nm-device-bridge.c @@ -352,7 +352,7 @@ static const Option slave_options[] = { TRUE, FALSE }, { NM_SETTING_BRIDGE_PORT_HAIRPIN_MODE, "hairpin_mode", NULL, NULL, - 0, 1, 0, + FALSE, TRUE, FALSE, FALSE, FALSE }, { NULL, NULL } }; |