tapnet: don't double-declare @forwards

Signed-off-by: Adam Williamson <awilliam@redhat.com>
This commit is contained in:
Adam Williamson 2022-05-26 14:49:57 -07:00
parent e30fa5a0a1
commit 56b443176a
1 changed files with 0 additions and 1 deletions

View File

@ -58,7 +58,6 @@ sub setup_tap_static {
sub get_host_dns {
# get DNS server addresses from the host. Assumes host uses
# systemd-resolved and doesn't use IPv6, for now
my @forwards;
my $result = `/usr/bin/resolvectl status | grep Servers | tail -1 | cut -d: -f2-`;
# FIXME this is gonna break when we have IPv6 DNS servers on the
# worker hosts