RDMA/nes: Print IPv4 addresses in a readable format
Use NIPQUAD_FMT instead of printing raw 32-bit hex quantities in debugging output. Acked-by: Glenn Streiff <gstreiff@neteffect.com> Signed-off-by: Roland Dreier <rolandd@cisco.com>
This commit is contained in:
@@ -660,7 +660,9 @@ int nes_arp_table(struct nes_device *nesdev, u32 ip_addr, u8 *mac_addr, u32 acti
|
||||
|
||||
/* DELETE or RESOLVE */
|
||||
if (arp_index == nesadapter->arp_table_size) {
|
||||
nes_debug(NES_DBG_NETDEV, "mac address not in ARP table - cannot delete or resolve\n");
|
||||
nes_debug(NES_DBG_NETDEV, "MAC for " NIPQUAD_FMT " not in ARP table - cannot %s\n",
|
||||
HIPQUAD(ip_addr),
|
||||
action == NES_ARP_RESOLVE ? "resolve" : "delete");
|
||||
return -1;
|
||||
}
|
||||
|
||||
|
Verwijs in nieuw issue
Block a user