From b3070dc0258831c7e2b13624f75fa3dbd80d9833 Mon Sep 17 00:00:00 2001 From: Tom Gundersen Date: Sat, 4 Jan 2014 21:13:47 +0100 Subject: networkd: refuse to use .network files with missing Address/Gateway key These keys are mandatory in [Address]/[Route] sections. Otherwise, we hit an assert: ens3: setting addresses Assertion 'address->family == 2 || address->family == 10' failed at /build/amd64-generic/tmp/portage/sys-apps/systemd-9999-r1/work/systemd-9999/src/network/networkd-address.c:137, function address_configure(). Aborting. Reported-by: Alex Polvi At the same time make sure Route's Destination and Gateway uses the same address family. --- man/systemd-networkd.service.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'man/systemd-networkd.service.xml') diff --git a/man/systemd-networkd.service.xml b/man/systemd-networkd.service.xml index 57be3358fe..de45d10a78 100644 --- a/man/systemd-networkd.service.xml +++ b/man/systemd-networkd.service.xml @@ -206,7 +206,7 @@ Address - As in the [Network] section. + As in the [Network] section. This key is mandatory. @@ -223,7 +223,7 @@ Gateway - As in the [Network] section. + As in the [Network] section. This key is mandatory. -- cgit v1.2.3-54-g00ecf