srv6-mobile 20/23820/2
authorTetsuya Murakami <tetsuya.mrk@gmail.com>
Thu, 5 Dec 2019 18:42:34 +0000 (10:42 -0800)
committerOle Trøan <otroan@employees.org>
Thu, 5 Dec 2019 21:09:18 +0000 (21:09 +0000)
Type: fix

Plug-in for IPv6 Segment Routing Mobile

Fix the static analysis issue on srv6-mobile/gtp4_d function.

Signed-off-by: Tetsuya Murakami <tetsuya.mrk@gmail.com>
Change-Id: I5c419b76a30c9616dc3557267fcceed0d512b67e

src/plugins/srv6-mobile/gtp4_d.c

index 2160a90..7bafa56 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * srv6_t_m_gtp4_d.c
  *
- * Copyright (c) 2019 Cisco and/or its affiliates.
+ * Copyright (c) 2019 Arrcus Inc 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:
@@ -186,7 +186,7 @@ srv6_t_m_gtp4_d_init (vlib_main_t * vm)
   ip6_header_t *ip6;
   dpo_type_t dpo_type;
   vlib_node_t *node;
-  u32 rc;
+  int rc;
 
   sm->vlib_main = vm;
   sm->vnet_main = vnet_get_main ();