Fix vpp crash bug while deleting dhcp client
[vpp.git] / src / vnet / udp / udp_format.c
index abdf561..2277e18 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2015 Cisco and/or its affiliates.
+ * Copyright (c) 2015-2019 Cisco and/or its affiliates.
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
  * You may obtain a copy of the License at:
@@ -45,7 +45,7 @@ format_udp_header (u8 * s, va_list * args)
 {
   udp_header_t *udp = va_arg (*args, udp_header_t *);
   u32 max_header_bytes = va_arg (*args, u32);
-  uword indent;
+  u32 indent;
   u32 header_bytes = sizeof (udp[0]);
 
   /* Nothing to do. */