bundles/radvd: support not announcing a nameserver

This commit is contained in:
Franzi 2020-12-13 14:59:10 +01:00
parent 057d4f0c4c
commit c5e43188ca
Signed by: kunsi
GPG key ID: 12E3D2136B818350

View file

@ -8,9 +8,11 @@ interface ${interface}
AdvAutonomous on;
AdvRouterAddr on;
};
% if 'rdnss' in config:
RDNSS ${' '.join(sorted(config['rdnss']))}
{
AdvRDNSSLifetime 900;
};
% endif
};
% endfor