bundles/radvd: support not announcing a nameserver
This commit is contained in:
parent
057d4f0c4c
commit
c5e43188ca
1 changed files with 2 additions and 0 deletions
|
@ -8,9 +8,11 @@ interface ${interface}
|
||||||
AdvAutonomous on;
|
AdvAutonomous on;
|
||||||
AdvRouterAddr on;
|
AdvRouterAddr on;
|
||||||
};
|
};
|
||||||
|
% if 'rdnss' in config:
|
||||||
RDNSS ${' '.join(sorted(config['rdnss']))}
|
RDNSS ${' '.join(sorted(config['rdnss']))}
|
||||||
{
|
{
|
||||||
AdvRDNSSLifetime 900;
|
AdvRDNSSLifetime 900;
|
||||||
};
|
};
|
||||||
|
% endif
|
||||||
};
|
};
|
||||||
% endfor
|
% endfor
|
||||||
|
|
Loading…
Reference in a new issue