# Re: \[PATCH\] ip: make -resolve addr to print names rather than addresses

- From: Sami Kerola \<hidden\>
- Date: 2013-10-04 18:49:31 
- List: netdev
- Page: https://ratatoskr.run/netdev/2013/10/10934678
- Thread: https://ratatoskr.run/netdev/2013/09/10934298/t.md

```text
On 4 October 2013 19:25, Stephen Hemminger [ref] wrote:
> On Mon, 30 Sep 2013 22:01:48 +0100 Sami Kerola [ref] wrote:
>
>> As a system admin I occasionally want to be able to check that all
>> interfaces has a name in DNS or /etc/hosts file.
>
> This shouldn't be the default. It will change the result that user's expect now.

Doesn't the format_host() print exactly the same output as before,
unless -r is defined.
I intended resolution to happen when

ip -r addr

is used, but not when the -r is not specified. Or did I somehow messed
up the logic?

-- 
Sami Kerola
http://www.iki.fi/kerolasa/
```
