summaryrefslogtreecommitdiffstats
path: root/src/shared/net-condition.c
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2021-11-04 17:33:25 +0100
committerYu Watanabe <watanabe.yu+github@gmail.com>2021-11-09 13:39:09 +0100
commitc6df73ca72ecbe5c9a41ff19b49f7187fa326a58 (patch)
treedc1ff2d6620425d6a08d6d28ae0850a90eecbd3c /src/shared/net-condition.c
parentconf-parser: rename config_parse_hwaddr() -> config_parse_ether_addr() (diff)
downloadsystemd-c6df73ca72ecbe5c9a41ff19b49f7187fa326a58.tar.xz
systemd-c6df73ca72ecbe5c9a41ff19b49f7187fa326a58.zip
ether-addr-util: introduce {hw,ether}_addr_hash_ops_free
Diffstat (limited to 'src/shared/net-condition.c')
-rw-r--r--src/shared/net-condition.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/shared/net-condition.c b/src/shared/net-condition.c
index 52cac19df3..ac0a364f06 100644
--- a/src/shared/net-condition.c
+++ b/src/shared/net-condition.c
@@ -17,8 +17,8 @@ void net_match_clear(NetMatch *match) {
if (!match)
return;
- match->mac = set_free_free(match->mac);
- match->permanent_mac = set_free_free(match->permanent_mac);
+ match->mac = set_free(match->mac);
+ match->permanent_mac = set_free(match->permanent_mac);
match->path = strv_free(match->path);
match->driver = strv_free(match->driver);
match->iftype = strv_free(match->iftype);
@@ -26,7 +26,7 @@ void net_match_clear(NetMatch *match) {
match->property = strv_free(match->property);
match->wlan_iftype = strv_free(match->wlan_iftype);
match->ssid = strv_free(match->ssid);
- match->bssid = set_free_free(match->bssid);
+ match->bssid = set_free(match->bssid);
}
bool net_match_is_empty(const NetMatch *match) {