diff options
author | Yu Watanabe <watanabe.yu+github@gmail.com> | 2020-10-29 07:04:52 +0100 |
---|---|---|
committer | Yu Watanabe <watanabe.yu+github@gmail.com> | 2020-10-29 07:04:52 +0100 |
commit | 5722fb89bcb4d0fb228c0b99b82b70e00bb6095a (patch) | |
tree | 35d5bacdc33b714646809f5700184a5f7017bd71 /src/network/test-networkd-conf.c | |
parent | meson: drop libsystemd_network from several binaries (diff) | |
download | systemd-5722fb89bcb4d0fb228c0b99b82b70e00bb6095a.tar.xz systemd-5722fb89bcb4d0fb228c0b99b82b70e00bb6095a.zip |
net-condition: introduce struct NetMatch
Diffstat (limited to 'src/network/test-networkd-conf.c')
-rw-r--r-- | src/network/test-networkd-conf.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/network/test-networkd-conf.c b/src/network/test-networkd-conf.c index 57c5068e3a..08ebf30bb9 100644 --- a/src/network/test-networkd-conf.c +++ b/src/network/test-networkd-conf.c @@ -171,7 +171,7 @@ static void test_config_parse_address_one(const char *rvalue, int family, unsign assert_se(network = new0(Network, 1)); network->n_ref = 1; assert_se(network->filename = strdup("hogehoge.network")); - assert_se(config_parse_match_ifnames("network", "filename", 1, "section", 1, "Name", 0, "*", &network->match_name, network) == 0); + assert_se(config_parse_match_ifnames("network", "filename", 1, "section", 1, "Name", 0, "*", &network->match.ifname, network) == 0); assert_se(config_parse_address("network", "filename", 1, "section", 1, "Address", 0, rvalue, network, network) == 0); assert_se(ordered_hashmap_size(network->addresses_by_section) == 1); assert_se(network_verify(network) >= 0); |