diff options
author | Hans Dedecker <dedeckeh@gmail.com> | 2019-02-03 18:03:42 +0100 |
---|---|---|
committer | Hans Dedecker <dedeckeh@gmail.com> | 2019-02-03 21:13:16 +0100 |
commit | f21a0a7bbc31ff8b519e566087e5b425c39480c6 (patch) | |
tree | 4bbba898ff47862f8c46878de58e39242fc269df /src/dhcpv6.c | |
parent | edc5fb0e5af19024fcda8c396eabcb578d0af3f3 (diff) |
treewide: align syslog tracing
Use the logical OpenWrt interface name in syslog printing as multiple
logical interfaces can be defined on top of the same device
Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
Diffstat (limited to 'src/dhcpv6.c')
-rw-r--r-- | src/dhcpv6.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dhcpv6.c b/src/dhcpv6.c index 59bc422..58b3bd7 100644 --- a/src/dhcpv6.c +++ b/src/dhcpv6.c @@ -239,7 +239,7 @@ static void handle_client_request(void *addr, void *data, size_t len, if (len < sizeof(*hdr)) return; - syslog(LOG_NOTICE, "Got DHCPv6 request"); + syslog(LOG_NOTICE, "Got DHCPv6 request on %s", iface->name); /* Construct reply message */ struct __attribute__((packed)) { |