diff options
author | Yu Watanabe <watanabe.yu+github@gmail.com> | 2021-12-27 10:34:24 +0900 |
---|---|---|
committer | Yu Watanabe <watanabe.yu+github@gmail.com> | 2022-01-19 14:57:59 +0900 |
commit | 307fe3cdf2d012c49b7bc39ea2d4251c6d44e93e (patch) | |
tree | 2c8fbdb318b1948cf032e7295fcfb978843e620d /src/network/networkd-route.h | |
parent | e5c4289a9dc08a3d28360e24bd326cca11c9b9d6 (diff) | |
download | systemd-307fe3cdf2d012c49b7bc39ea2d4251c6d44e93e.tar.gz |
network: rename NetworkConfigSection -> ConfigSection
And move it and relevant functions to conf-parser.[ch].
Diffstat (limited to 'src/network/networkd-route.h')
-rw-r--r-- | src/network/networkd-route.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/network/networkd-route.h b/src/network/networkd-route.h index e3e22a5985..3471008fee 100644 --- a/src/network/networkd-route.h +++ b/src/network/networkd-route.h @@ -19,7 +19,7 @@ typedef struct Route { Link *link; Manager *manager; Network *network; - NetworkConfigSection *section; + ConfigSection *section; NetworkConfigSource source; NetworkConfigState state; union in_addr_union provider; /* DHCP server or router address */ @@ -74,7 +74,7 @@ extern const struct hash_ops route_hash_ops; int route_new(Route **ret); Route *route_free(Route *route); -DEFINE_NETWORK_SECTION_FUNCTIONS(Route, route_free); +DEFINE_SECTION_CLEANUP_FUNCTIONS(Route, route_free); int route_dup(const Route *src, Route **ret); int route_configure_handler_internal(sd_netlink *rtnl, sd_netlink_message *m, Link *link, const char *error_msg); |