summaryrefslogtreecommitdiff
path: root/src/ipcpd/udp
diff options
context:
space:
mode:
authorDimitri Staessens <dimitri@ouroboros.rocks>2023-11-07 12:19:56 +0100
committerSander Vrijders <sander@ouroboros.rocks>2023-11-08 09:17:33 +0100
commit9feb012d13f51948a9ccd9c15150495437b40126 (patch)
treee6057461506acd2a1959980c393ccafe0fe97879 /src/ipcpd/udp
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 <dimitri@ouroboros.rocks> Signed-off-by: Sander Vrijders <sander@ouroboros.rocks>
Diffstat (limited to 'src/ipcpd/udp')
-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;