bundles/systemd-networkd: fix typo in routes
All checks were successful
bundlewrap/pipeline/head This commit looks good

This commit is contained in:
Franzi 2021-04-01 16:31:57 +02:00
parent 6e423c24fb
commit b7222e2cd1
Signed by: kunsi
GPG key ID: 12E3D2136B818350

View file

@ -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