summaryrefslogtreecommitdiffstats
path: root/src/network/networkd-network.c
diff options
context:
space:
mode:
authorDevon Pringle <devon.pringle@opengear.com>2020-12-14 07:23:17 +0100
committerYu Watanabe <watanabe.yu+github@gmail.com>2020-12-18 13:44:32 +0100
commit16c89e649d248b0fc7c1dc7ad9f3323be4eac0f4 (patch)
treea17aea8ba2ec67d29a1ab11b0678c43228b05bb7 /src/network/networkd-network.c
parentMerge pull request #18015 from keszybz/dmi-test-mesonification2 (diff)
downloadsystemd-16c89e649d248b0fc7c1dc7ad9f3323be4eac0f4.tar.xz
systemd-16c89e649d248b0fc7c1dc7ad9f3323be4eac0f4.zip
networkd: add RouteDenyList
Allow configuration for IPv6 discovered routes to be ignored instead of adding them as a route. This can be used to block unwanted routes, for example, you may wish to not receive some set of routes on an interface if they are causing issues.
Diffstat (limited to 'src/network/networkd-network.c')
-rw-r--r--src/network/networkd-network.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/network/networkd-network.c b/src/network/networkd-network.c
index a5440a83c7..c037904cdd 100644
--- a/src/network/networkd-network.c
+++ b/src/network/networkd-network.c
@@ -607,6 +607,7 @@ static Network *network_free(Network *network) {
ordered_set_free(network->router_search_domains);
free(network->router_dns);
set_free_free(network->ndisc_deny_listed_prefix);
+ set_free_free(network->ndisc_deny_listed_route_prefix);
free(network->bridge_name);
free(network->bond_name);