Module Name: src
Committed By: mlelstv
Date: Sun Mar 31 16:14:48 UTC 2019
Modified Files:
src/sys/lib/libsa: udp.c
Log Message:
correct debug message, d->myport has network byte order.
To generate a diff of this commit:
cvs rdiff -u -r1.11 -r1.12 src/sys/lib/libsa/udp.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/lib/libsa/udp.c
diff -u src/sys/lib/libsa/udp.c:1.11 src/sys/lib/libsa/udp.c:1.12
--- src/sys/lib/libsa/udp.c:1.11 Wed May 11 16:23:40 2011
+++ src/sys/lib/libsa/udp.c Sun Mar 31 16:14:48 2019
@@ -1,4 +1,4 @@
-/* $NetBSD: udp.c,v 1.11 2011/05/11 16:23:40 zoltan Exp $ */
+/* $NetBSD: udp.c,v 1.12 2019/03/31 16:14:48 mlelstv Exp $ */
/*
* Copyright (c) 1992 Regents of the University of California.
@@ -117,7 +117,7 @@ readudp(struct iodesc *d, void *pkt, siz
#ifdef NET_DEBUG
if (debug)
printf("readudp: bad dport %d != %d\n",
- d->myport, ntohs(uh->uh_dport));
+ ntohs(d->myport), ntohs(uh->uh_dport));
#endif
return -1;
}