mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2025-12-30 01:30:12 +01:00
libnm: add nm_utils_bond_option_arp_ip_targets_split() helper
Note yet used. The way how we split the option is relevant at various
places. The code should use the same helper function.
(cherry picked from commit 4ee0e8f075)
This commit is contained in:
parent
b5e5356ad5
commit
2f43cde20d
2 changed files with 12 additions and 0 deletions
|
|
@ -10,6 +10,14 @@
|
|||
|
||||
/*****************************************************************************/
|
||||
|
||||
const char **
|
||||
nm_utils_bond_option_arp_ip_targets_split (const char *arp_ip_target)
|
||||
{
|
||||
return nm_utils_strsplit_set_full (arp_ip_target, ",", NM_UTILS_STRSPLIT_SET_FLAGS_STRSTRIP);
|
||||
}
|
||||
|
||||
/*****************************************************************************/
|
||||
|
||||
gboolean
|
||||
nm_utils_vlan_priority_map_parse_str (NMVlanPriorityMap map_type,
|
||||
const char *str,
|
||||
|
|
|
|||
|
|
@ -46,6 +46,10 @@ NM_AUTO_DEFINE_FCN0 (NMWireGuardPeer *, _nm_auto_unref_wgpeer, nm_wireguard_peer
|
|||
|
||||
/****************************************************************************/
|
||||
|
||||
const char **nm_utils_bond_option_arp_ip_targets_split (const char *arp_ip_target);
|
||||
|
||||
/*****************************************************************************/
|
||||
|
||||
static inline guint32
|
||||
nm_utils_vlan_priority_map_get_max_prio (NMVlanPriorityMap map, gboolean from)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue