diff options
author | Claudio Fontana <Claudio.Fontana@huawei.com> | 2012-10-24 21:15:43 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-10-31 13:23:00 -0400 |
commit | 9ecd1c3d6cff05fcfd11517341cc22f61651ec3e (patch) | |
tree | 8a8aee7a68f2cd11dea4a3e60859a337106b6388 /net | |
parent | 815cccbf10b27115fb3e5827bef26768616e5e27 (diff) |
net/ipv4/ipconfig: add device address to a KERN_INFO message
adds a "hwaddr" to the "IP-Config: Complete" KERN_INFO message
with the dev_addr of the device selected for auto configuration.
Signed-off-by: Claudio Fontana <claudio.fontana@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net')
-rw-r--r-- | net/ipv4/ipconfig.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/net/ipv4/ipconfig.c b/net/ipv4/ipconfig.c index 798358b10717..d763701cff1b 100644 --- a/net/ipv4/ipconfig.c +++ b/net/ipv4/ipconfig.c | |||
@@ -1500,8 +1500,10 @@ static int __init ip_auto_config(void) | |||
1500 | * Clue in the operator. | 1500 | * Clue in the operator. |
1501 | */ | 1501 | */ |
1502 | pr_info("IP-Config: Complete:\n"); | 1502 | pr_info("IP-Config: Complete:\n"); |
1503 | pr_info(" device=%s, addr=%pI4, mask=%pI4, gw=%pI4\n", | 1503 | |
1504 | ic_dev->name, &ic_myaddr, &ic_netmask, &ic_gateway); | 1504 | pr_info(" device=%s, hwaddr=%*phC, ipaddr=%pI4, mask=%pI4, gw=%pI4\n", |
1505 | ic_dev->name, ic_dev->addr_len, ic_dev->dev_addr, | ||
1506 | &ic_myaddr, &ic_netmask, &ic_gateway); | ||
1505 | pr_info(" host=%s, domain=%s, nis-domain=%s\n", | 1507 | pr_info(" host=%s, domain=%s, nis-domain=%s\n", |
1506 | utsname()->nodename, ic_domain, utsname()->domainname); | 1508 | utsname()->nodename, ic_domain, utsname()->domainname); |
1507 | pr_info(" bootserver=%pI4, rootserver=%pI4, rootpath=%s", | 1509 | pr_info(" bootserver=%pI4, rootserver=%pI4, rootpath=%s", |