When icmp6_receive() fails, then the source address is not initialized yet.
if (r < 0)
switch (r) {
case -EADDRNOTAVAIL:
- log_ndisc(nd, "Received RA from non-link-local address %s. Ignoring.",
- IN6_ADDR_TO_STRING(&rt->address));
+ log_ndisc(nd, "Received RA from non-link-local address. Ignoring.");
return 0;
case -EMULTIHOP:
if (r < 0)
switch (r) {
case -EADDRNOTAVAIL:
- log_radv(ra, "Received RS from non-link-local address %s. Ignoring",
- IN6_ADDR_TO_STRING(&src));
+ log_radv(ra, "Received RS from non-link-local address. Ignoring");
return 0;
case -EMULTIHOP: