mirror of https://github.com/aredn/aredn.git
bugfix: Resolve issue where reserved names are not being published correctly
reported by: W9HDG
This commit is contained in:
parent
9a7cdf8874
commit
60b8095c08
|
@ -227,7 +227,7 @@ print HOSTS "127.0.0.1\tlocalhost\n";
|
||||||
print HOSTS "$cfg{lan_ip}\tlocalnode ";
|
print HOSTS "$cfg{lan_ip}\tlocalnode ";
|
||||||
print HOSTS "\n$cfg{wifi_ip}\t" if $cfg{wifi_ip};
|
print HOSTS "\n$cfg{wifi_ip}\t" if $cfg{wifi_ip};
|
||||||
print HOSTS "$node $tactical\n";
|
print HOSTS "$node $tactical\n";
|
||||||
print HOSTS "$cfg{dtdlink_ip}\tdtdlink.$node.local.mesh dtdlink.$node" if $cfg{dtdlink_ip};
|
print HOSTS "$cfg{dtdlink_ip}\tdtdlink.$node.local.mesh dtdlink.$node\n" if $cfg{dtdlink_ip};
|
||||||
print HOSTS add_ip_address($cfg{lan_ip}, 1), "\tlocalap\n" unless $cfg{dmz_mode};
|
print HOSTS add_ip_address($cfg{lan_ip}, 1), "\tlocalap\n" unless $cfg{dmz_mode};
|
||||||
|
|
||||||
open(ETHER, ">/etc/ethers") or die;
|
open(ETHER, ">/etc/ethers") or die;
|
||||||
|
|
Loading…
Reference in New Issue