summaryrefslogtreecommitdiff
path: root/src/etc/dhcp/dhclient-enter-hooks.d
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2022-11-14 07:00:30 +0100
committerGitHub <noreply@github.com>2022-11-14 07:00:30 +0100
commit92b828154497c534ce82af16320ed34f0c15e51c (patch)
tree4fb0e69e87e37cca30451af6c06a83944486c2ad /src/etc/dhcp/dhclient-enter-hooks.d
parent61574eaf2d703e8084c8272e6976fd44abaea482 (diff)
parent00ec496877453cc37ceec0633821a47f128d9f4f (diff)
downloadvyos-1x-92b828154497c534ce82af16320ed34f0c15e51c.tar.gz
vyos-1x-92b828154497c534ce82af16320ed34f0c15e51c.zip
Merge pull request #1656 from vfreex/fix-ns-config
T4815: Fix various name server config issues
Diffstat (limited to 'src/etc/dhcp/dhclient-enter-hooks.d')
-rw-r--r--src/etc/dhcp/dhclient-enter-hooks.d/04-vyos-resolvconf4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/etc/dhcp/dhclient-enter-hooks.d/04-vyos-resolvconf b/src/etc/dhcp/dhclient-enter-hooks.d/04-vyos-resolvconf
index b1902b585..518abeaec 100644
--- a/src/etc/dhcp/dhclient-enter-hooks.d/04-vyos-resolvconf
+++ b/src/etc/dhcp/dhclient-enter-hooks.d/04-vyos-resolvconf
@@ -33,8 +33,8 @@ if /usr/bin/systemctl -q is-active vyos-hostsd; then
if [ -n "$new_dhcp6_name_servers" ]; then
logmsg info "Deleting nameservers with tag \"dhcpv6-$interface\" via vyos-hostsd-client"
$hostsd_client --delete-name-servers --tag "dhcpv6-$interface"
- logmsg info "Adding nameservers \"$new_dhcpv6_name_servers\" with tag \"dhcpv6-$interface\" via vyos-hostsd-client"
- $hostsd_client --add-name-servers $new_dhcpv6_name_servers --tag "dhcpv6-$interface"
+ logmsg info "Adding nameservers \"$new_dhcp6_name_servers\" with tag \"dhcpv6-$interface\" via vyos-hostsd-client"
+ $hostsd_client --add-name-servers $new_dhcp6_name_servers --tag "dhcpv6-$interface"
hostsd_changes=y
fi