diff options
author | nikolay@redhat.com <nikolay@redhat.com> | 2013-05-17 21:18:29 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-05-20 02:25:49 -0400 |
commit | acca2674a71816c5c9d0caa81fecd33b491fd68f (patch) | |
tree | 4deffe58a6373461efaf8d5515f307a9c701dfc2 /drivers/net | |
parent | ea6836dd7ef9cfbed5dce421190009f9eed00b7e (diff) |
bonding: replace %x with %pI4 for IPv4 addresses
There're few pr_debug() places that can provide the IPv4 address in
dotted decimal format instead which is more helpful.
Signed-off-by: Nikolay Aleksandrov <nikolay@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net')
-rw-r--r-- | drivers/net/bonding/bond_main.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/net/bonding/bond_main.c b/drivers/net/bonding/bond_main.c index 449ad9bbe45c..d4635987bda9 100644 --- a/drivers/net/bonding/bond_main.c +++ b/drivers/net/bonding/bond_main.c | |||
@@ -2556,8 +2556,8 @@ static void bond_arp_send(struct net_device *slave_dev, int arp_op, __be32 dest_ | |||
2556 | { | 2556 | { |
2557 | struct sk_buff *skb; | 2557 | struct sk_buff *skb; |
2558 | 2558 | ||
2559 | pr_debug("arp %d on slave %s: dst %x src %x vid %d\n", arp_op, | 2559 | pr_debug("arp %d on slave %s: dst %pI4 src %pI4 vid %d\n", arp_op, |
2560 | slave_dev->name, dest_ip, src_ip, vlan_id); | 2560 | slave_dev->name, &dest_ip, &src_ip, vlan_id); |
2561 | 2561 | ||
2562 | skb = arp_create(arp_op, ETH_P_ARP, dest_ip, slave_dev, src_ip, | 2562 | skb = arp_create(arp_op, ETH_P_ARP, dest_ip, slave_dev, src_ip, |
2563 | NULL, slave_dev->dev_addr, NULL); | 2563 | NULL, slave_dev->dev_addr, NULL); |
@@ -2589,7 +2589,7 @@ static void bond_arp_send_all(struct bonding *bond, struct slave *slave) | |||
2589 | __be32 addr; | 2589 | __be32 addr; |
2590 | if (!targets[i]) | 2590 | if (!targets[i]) |
2591 | break; | 2591 | break; |
2592 | pr_debug("basa: target %x\n", targets[i]); | 2592 | pr_debug("basa: target %pI4\n", &targets[i]); |
2593 | if (!bond_vlan_used(bond)) { | 2593 | if (!bond_vlan_used(bond)) { |
2594 | pr_debug("basa: empty vlan: arp_send\n"); | 2594 | pr_debug("basa: empty vlan: arp_send\n"); |
2595 | addr = bond_confirm_addr(bond->dev, targets[i], 0); | 2595 | addr = bond_confirm_addr(bond->dev, targets[i], 0); |