summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDimitri Staessens <[email protected]>2023-11-07 12:19:56 +0100
committerSander Vrijders <[email protected]>2023-11-08 09:17:33 +0100
commit9feb012d13f51948a9ccd9c15150495437b40126 (patch)
treee6057461506acd2a1959980c393ccafe0fe97879 /src
parent0611afc41d6d1f21c558e73fb95e959f02153bc5 (diff)
downloadouroboros-9feb012d13f51948a9ccd9c15150495437b40126.tar.gz
ouroboros-9feb012d13f51948a9ccd9c15150495437b40126.zip
ipcpd: Fix log line in ipcpd-udp
The dst was printed as a string instead of using hash-formatting. Signed-off-by: Dimitri Staessens <[email protected]> Signed-off-by: Sander Vrijders <[email protected]>
Diffstat (limited to 'src')
-rw-r--r--src/ipcpd/udp/main.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/ipcpd/udp/main.c b/src/ipcpd/udp/main.c
index aad068fe..91fdd71e 100644
--- a/src/ipcpd/udp/main.c
+++ b/src/ipcpd/udp/main.c
@@ -1008,7 +1008,8 @@ static int udp_ipcp_flow_alloc(int fd,
return -1;
}
- log_dbg("Destination %s UDP ipcp resolved at %s.", dst, ipstr);
+ log_dbg("Destination " HASH_FMT32 " resolved at IP %s.",
+ HASH_VAL32(dst), ipstr);
memset((char *) &r_saddr, 0, sizeof(r_saddr));
r_saddr.sin_family = AF_INET;