Skip to content

Commit

Permalink
radvd: T1832: adding config option adding feature DNSSL
Browse files Browse the repository at this point in the history
  • Loading branch information
hagbard-01 committed Nov 28, 2019
1 parent 89329ea commit 3487250
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
@@ -0,0 +1,3 @@
multi:
type: txt
help: DNS Search Lists
11 changes: 11 additions & 0 deletions scripts/vyatta_gen_radvd.pl
Expand Up @@ -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";
}
Expand Down

1 comment on commit 3487250

@c-po
Copy link
Contributor

@c-po c-po commented on 3487250 Nov 28, 2019

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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

Please sign in to comment.