mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2025-12-20 07:00:05 +01:00
bond: fix attribute assignment macro
Currently the bug is hidden because the macro is only called with
NM_SETTING_BOND_OPTION_ARP_IP_TARGET.
Fixes: 45c95e9314 ('device/bond: rework setting of arp_ip_target bond options')
This commit is contained in:
parent
404a3ec853
commit
1229fe5abd
1 changed files with 7 additions and 7 deletions
|
|
@ -142,7 +142,7 @@ _set_bond_attr(NMDevice *device, const char *attr, const char *value)
|
|||
{ \
|
||||
gs_free char *_tmp = (value); \
|
||||
\
|
||||
_set_bond_attr(device, NM_SETTING_BOND_OPTION_ARP_IP_TARGET, _tmp); \
|
||||
_set_bond_attr(device, attr, _tmp); \
|
||||
} \
|
||||
G_STMT_END
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue