git://git.openafs.org
/
openafs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
rx: fix out-of-range value for RX_CONN_NAT_PING
[openafs.git]
/
src
/
rx
/
rx_packet.c
diff --git
a/src/rx/rx_packet.c
b/src/rx/rx_packet.c
index
c52937e
..
6cf997b
100644
(file)
--- a/
src/rx/rx_packet.c
+++ b/
src/rx/rx_packet.c
@@
-1896,7
+1896,7
@@
rxi_ReceiveDebugPacket(struct rx_packet *ap, osi_socket asocket,
tconn.natMTU = htonl(tc->peer->natMTU);
tconn.error = htonl(tc->error);
- tconn.flags = tc->flags;
+ tconn.flags = (u_char) (tc->flags & 0xff); /* compat. */
tconn.type = tc->type;
tconn.securityIndex = tc->securityIndex;
if (tc->securityObject) {