if (!strcmp (iface -> name, lp -> name)) {
note ("%s: %s", lp -> name,
print_hw_addr
- (lp -> address.hlen,
- lp -> address.htype,
+ (lp -> address.htype,
+ lp -> address.hlen,
lp -> address.haddr));
iface -> hw_address = lp -> address;
}
}
if (result == 0)
return;
- note ("request from %s, port %d",
- inet_ntoa (from.sin_addr),
- htons (from.sin_port));
+
ifrom.len = 4;
memcpy (ifrom.iabuf, &from.sin_addr, ifrom.len);
if (!strcmp (iface -> name, lp -> name)) {
note ("%s: %s", lp -> name,
print_hw_addr
- (lp -> address.hlen,
- lp -> address.htype,
+ (lp -> address.htype,
+ lp -> address.hlen,
lp -> address.haddr));
iface -> hw_address = lp -> address;
}
}
if (result == 0)
return;
- note ("request from %s, port %d",
- inet_ntoa (from.sin_addr),
- htons (from.sin_port));
+
ifrom.len = 4;
memcpy (ifrom.iabuf, &from.sin_addr, ifrom.len);