nfsn: Fix type of min-interval variable

This commit is contained in:
Richard Hansen 2024-06-28 04:17:34 -04:00
parent 66bb07450f
commit e32b9436fb

View file

@ -954,7 +954,7 @@ my %protocols = (
'examples' => \&nic_nfsn_examples, 'examples' => \&nic_nfsn_examples,
'variables' => { 'variables' => {
%{$variables{'protocol-common-defaults'}}, %{$variables{'protocol-common-defaults'}},
'min-interval' => setv(T_FQDNP, 0, 0, 0, interval('5m')), 'min-interval' => setv(T_DELAY, 0, 0, 0, interval('5m')),
'server' => setv(T_FQDNP, 1, 0, 'api.nearlyfreespeech.net', undef), 'server' => setv(T_FQDNP, 1, 0, 'api.nearlyfreespeech.net', undef),
'ttl' => setv(T_NUMBER, 1, 0, 300, undef), 'ttl' => setv(T_NUMBER, 1, 0, 300, undef),
'zone' => setv(T_FQDN, 1, 0, undef, undef), 'zone' => setv(T_FQDN, 1, 0, undef, undef),