diff options
Diffstat (limited to 'perl-install/network.pm')
-rw-r--r-- | perl-install/network.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/network.pm b/perl-install/network.pm index 765888c82..2aa9b0827 100644 --- a/perl-install/network.pm +++ b/perl-install/network.pm @@ -99,7 +99,7 @@ sub write_resolv_conf { print F "search $netc->{DOMAINNAME} $netc->{DOMAINNAME2}\n\n" if ($netc->{DOMAINNAME} || $netc->{DOMAINNAME2}); print F "# nameserver $_\n" foreach grep { ! exists $used_dns{$_} } sort { $dns{$a} <=> $dns{$b} } keys %dns; print F "nameserver $_\n" foreach sort { $used_dns{$a} <=> $used_dns{$b} } grep { $_ } keys %used_dns; - $netc->{NET_DEVICE} =~ /ppp/ and print F "# ppp temp entry\n"; + $netc->{NET_PROTOCOL} =~ /ppp/ and print F "# ppp temp entry\n"; print F "\n"; print F "# $_\n" foreach @unknown; |