Re: [PATCH] utils: Avoid returning loopback address from get_hostname_by_route

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sun, 2011-03-06 at 16:55 -0500, David Ward wrote:
> Until recently, NetworkManager modified /etc/hosts and added the (real)
> hostname as an alias to the loopback address 127.0.0.1, and also as an
> alias to the IP address of the interface(s) it managed. In this situation,
> func actually detected the hostname as "127.0.0.1", which was then used by
> certmaster as the key name in the certificate. Even though the current
> NetworkManager does not touch /etc/hosts, func should be able to handle
> this case. This change includes the needed fixes to get_hostname_by_route.
> 
> Other code in this function has been edited to improve clarity.
> 


This looks great. Thank you.

applied
-sv



_______________________________________________
Func-list mailing list
Func-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/func-list


[Index of Archives]     [Fedora Users]     [Linux Networking]     [Fedora Legacy List]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux