make unimplemented flag type not crash
This commit is contained in:
parent
3037d4c83f
commit
f6d6ffa6fb
1 changed files with 2 additions and 2 deletions
|
|
@ -141,11 +141,11 @@ impl SocketImpl {
|
||||||
|
|
||||||
if //((packet.header.types_and_flags.get_flags() & flags::NEED_ACK) != 0) ||
|
if //((packet.header.types_and_flags.get_flags() & flags::NEED_ACK) != 0) ||
|
||||||
//((packet.header.types_and_flags.get_flags() & flags::ACK) != 0) ||
|
//((packet.header.types_and_flags.get_flags() & flags::ACK) != 0) ||
|
||||||
((packet.header.types_and_flags.get_flags() & flags::RELIABLE) != 0) ||
|
//((packet.header.types_and_flags.get_flags() & flags::RELIABLE) != 0) ||
|
||||||
((packet.header.types_and_flags.get_flags() & flags::MULTI_ACK) != 0) {
|
((packet.header.types_and_flags.get_flags() & flags::MULTI_ACK) != 0) {
|
||||||
let copy = packet.header.types_and_flags;
|
let copy = packet.header.types_and_flags;
|
||||||
|
|
||||||
unimplemented!("{:?}", copy)
|
error!("{:?}", copy)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue