summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTelire Barry <t.barry@alphalink.fr>2022-06-24 11:27:47 +0200
committerTelire Barry <t.barry@alphalink.fr>2022-07-05 10:22:26 +0200
commita184c94f3f8c8e8bc56ebd9527646567a06e8e59 (patch)
tree8e1cd679961f2078afeeb47ebc00e494c8780f10
parent26270ec4e1057977be1e45da1c86217e1b6357f6 (diff)
downloadaccel-ppp-a184c94f3f8c8e8bc56ebd9527646567a06e8e59.tar.gz
accel-ppp-a184c94f3f8c8e8bc56ebd9527646567a06e8e59.zip
ipv6_dhcp:change log message with appropriate file name
This commit proposes to modify the log message in dhcpv6.c to include the correct file name. It avoids confusion when reading the logs
-rw-r--r--accel-pppd/ipv6/dhcpv6.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/accel-pppd/ipv6/dhcpv6.c b/accel-pppd/ipv6/dhcpv6.c
index 0a0a2c10..12701ce3 100644
--- a/accel-pppd/ipv6/dhcpv6.c
+++ b/accel-pppd/ipv6/dhcpv6.c
@@ -88,7 +88,7 @@ static void ev_ses_started(struct ap_session *ses)
net->setsockopt(sock, SOL_SOCKET, SO_REUSEADDR, &f, sizeof(f));
if (net->setsockopt(sock, SOL_SOCKET, SO_BINDTODEVICE, ses->ifname, strlen(ses->ifname))) {
- log_ppp_error("ipv6_nd: setsockopt(SO_BINDTODEVICE): %s\n", strerror(errno));
+ log_ppp_error("dhcpv6: setsockopt(SO_BINDTODEVICE): %s\n", strerror(errno));
close(sock);
return;
}