aboutsummaryrefslogtreecommitdiff
path: root/src/udp.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/udp.c')
-rw-r--r--src/udp.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/udp.c b/src/udp.c
index eb20bbb..14704e5 100644
--- a/src/udp.c
+++ b/src/udp.c
@@ -263,6 +263,8 @@ int udp_output(struct socket *so, struct mbuf *m, const struct sockaddr_in *sadd
DEBUG_ARG("m = %p", m);
DEBUG_ARG("saddr = %s", inet_ntop(AF_INET, &saddr->sin_addr, addr, sizeof(addr)));
DEBUG_ARG("daddr = %s", inet_ntop(AF_INET, &daddr->sin_addr, addr, sizeof(addr)));
+ DEBUG_ARG("s_inport = %d", ntohs(saddr->sin_port));
+ DEBUG_ARG("d_inport = %d", ntohs(daddr->sin_port));
/*
* Adjust for header