summaryrefslogtreecommitdiff
path: root/usr.sbin
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin')
-rw-r--r--usr.sbin/rad/engine.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/usr.sbin/rad/engine.c b/usr.sbin/rad/engine.c
index 9ded4c6eb2f..23967f6d2bb 100644
--- a/usr.sbin/rad/engine.c
+++ b/usr.sbin/rad/engine.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: engine.c,v 1.15 2019/03/15 16:47:19 florian Exp $ */
+/* $OpenBSD: engine.c,v 1.16 2020/05/20 10:37:02 claudio Exp $ */
/*
* Copyright (c) 2018 Florian Obser <florian@openbsd.org>
@@ -482,7 +482,8 @@ parse_rs(struct imsg_ra_rs *rs)
len = rs->len;
if (!IN6_IS_ADDR_LINKLOCAL(&rs->from.sin6_addr)) {
- log_warnx("RA from non link local address %s", hbuf);
+ log_warnx("RA from non link local address %s on %s", hbuf,
+ if_indextoname(rs->if_index, ifnamebuf));
return;
}