libnm: use boolean values for range of NM_SETTING_BRIDGE_PORT_HAIRPIN_MODE in slave_options

This commit is contained in:
Thomas Haller 2020-05-05 13:56:56 +02:00
parent 42288df043
commit 7c22710c17
No known key found for this signature in database
GPG key ID: 29C2366E4DFC5728

View file

@ -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 }
};