Skip to content
Permalink
Browse files

radvd: T1832: adding config option adding feature DNSSL

  • Loading branch information
hagbard-01 committed Nov 28, 2019
1 parent 89329ea commit 3487250218d7ed96ab5e99391a6367d0e026493f
Showing with 14 additions and 0 deletions.
  1. +3 −0 interface-templates/ipv6/router-advert/dns-searchlists/node.def
  2. +11 −0 scripts/vyatta_gen_radvd.pl
@@ -0,0 +1,3 @@
multi:
type: txt
help: DNS Search Lists
@@ -352,6 +352,17 @@ sub do_interface {
print $FD_WR "{\n };\n";
}

# Process Search lists
my @searchlists = $config->returnValues("$param_root dns-searchlists");
log_msg("nameservers = @searchlists\n");
if (@searchlists) {
print $FD_WR " DNSSL ";
foreach my $searchdom (@searchlists) {
print $FD_WR "$searchdom ";
}
print $FD_WR "{\n };\n";
}

# Finish off config file
print $FD_WR "};\n";
}

1 comment on commit 3487250

@c-po

This comment has been minimized.

Copy link
Member

c-po commented on 3487250 Nov 28, 2019

why not name the node dnssl? its shorter and would work with a proper help string?

Please sign in to comment.
You can’t perform that action at this time.