Code Review
/
vpp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
| inline |
side by side
ip: reassembly: remove unnecessary code
[vpp.git]
/
src
/
vnet
/
ip
/
ip4_format.c
diff --git
a/src/vnet/ip/ip4_format.c
b/src/vnet/ip/ip4_format.c
index
5399e44
..
6c31b42
100644
(file)
--- a/
src/vnet/ip/ip4_format.c
+++ b/
src/vnet/ip/ip4_format.c
@@
-178,6
+178,9
@@
format_ip4_header (u8 * s, va_list * args)
_(CONGESTION);
#undef _
}
+ /* Fragment packet but not the first. */
+ if (o != 0)
+ return s;
}
/* Recurse into next protocol layer. */