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:
Beniamino Galvani 2025-07-04 18:31:42 +02:00
parent 404a3ec853
commit 1229fe5abd

View file

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