summaryrefslogtreecommitdiff
path: root/src/network/networkd-network.c
diff options
context:
space:
mode:
authorTom Gundersen <teg@jklm.no>2014-01-28 20:00:47 +0100
committerTom Gundersen <teg@jklm.no>2014-01-30 14:30:39 +0100
commit801bd9e859d7f3f127617172910786929776472b (patch)
tree5c0d67fdf25bb222bcbdc977db96a7fc1e1e21d9 /src/network/networkd-network.c
parenteb27aeca247a4cf8816fffc4c0dbcab55ead3864 (diff)
net-util: verify the address family
Error out if the address family is already set to something incompatible with the address being parsed.
Diffstat (limited to 'src/network/networkd-network.c')
-rw-r--r--src/network/networkd-network.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/network/networkd-network.c b/src/network/networkd-network.c
index 2a720349a0..94138cd558 100644
--- a/src/network/networkd-network.c
+++ b/src/network/networkd-network.c
@@ -84,12 +84,6 @@ static int network_load_one(Manager *manager, const char *filename) {
"Ignoring", filename);
return 0;
}
-
- if (route->dst_family && route->family != route->dst_family) {
- log_warning("Route section with conflicting Gateway and Destination address "
- "family configured in %s. Ignoring", filename);
- return 0;
- }
}
LIST_FOREACH(static_addresses, address, network->static_addresses) {