From b7222e2cd16e1874fd20a6121ecf72058ce8c1b0 Mon Sep 17 00:00:00 2001 From: Franziska Kunsmann Date: Thu, 1 Apr 2021 16:31:57 +0200 Subject: [PATCH] bundles/systemd-networkd: fix typo in routes --- bundles/systemd-networkd/files/template-iface-nodhcp.network | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bundles/systemd-networkd/files/template-iface-nodhcp.network b/bundles/systemd-networkd/files/template-iface-nodhcp.network index 7ce3c60..bdbaed0 100644 --- a/bundles/systemd-networkd/files/template-iface-nodhcp.network +++ b/bundles/systemd-networkd/files/template-iface-nodhcp.network @@ -19,7 +19,7 @@ Address=${ip}/${prefix} % for route, rconfig in sorted(config.get('routes', {}).items()): [Route] % if 'via' in rconfig: -Gateway=${route['via']} +Gateway=${rconfig['via']} % endif Destination=${route} GatewayOnlink=yes