summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/vnet/ip/ip4_format.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/vnet/ip/ip4_format.c b/src/vnet/ip/ip4_format.c
index 5399e44d93a..6c31b422225 100644
--- 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. */