Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
tansiv
TANSIV
Commits
faf156fd
Commit
faf156fd
authored
Apr 15, 2020
by
RILLING Louis
Browse files
fake-vm: Remove warning
parent
ee6a3082
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/fake-vm/fake_vm/src/lib.rs
View file @
faf156fd
...
...
@@ -263,7 +263,7 @@ impl Context {
let
src
=
self
.0
.address
;
// Or use dst address when available in the protocol? Should be the same...
let
dst
=
self
.0
.address
;
let
size
=
packet
.len
();
//
let size = packet.len();
if
self
.0
.input_queue
.push
(
Packet
::
new
(
src
,
dst
,
packet
))
.is_err
()
{
// info!("Dropping input packet from {} of {} bytes", src, size);
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment