aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/srv6-mobile
diff options
context:
space:
mode:
authorDave Barach <dave@barachs.net>2019-11-20 10:20:06 -0500
committerDamjan Marion <dmarion@me.com>2019-11-20 17:35:25 +0000
commitfa6b556f1f75077a4f147203c402d9580bc9c84f (patch)
tree629cb0e4616b7008efcaf7244333e465441db34e /src/plugins/srv6-mobile
parentbf85a98fbf7622dc177ce3901f5b3cfd954b015a (diff)
misc: fix 4 coverity warnings in srv6-mobile
Type: fix Ticket: VPP-1771 Signed-off-by: Dave Barach <dave@barachs.net> Change-Id: I48854befbd3d1514ad8b41ac5b194259c2a577a4
Diffstat (limited to 'src/plugins/srv6-mobile')
-rw-r--r--src/plugins/srv6-mobile/gtp4_e.c2
-rw-r--r--src/plugins/srv6-mobile/gtp6_d.c2
-rw-r--r--src/plugins/srv6-mobile/gtp6_d_di.c2
-rw-r--r--src/plugins/srv6-mobile/gtp6_e.c2
4 files changed, 4 insertions, 4 deletions
diff --git a/src/plugins/srv6-mobile/gtp4_e.c b/src/plugins/srv6-mobile/gtp4_e.c
index 73a91f8592d..211e95d11de 100644
--- a/src/plugins/srv6-mobile/gtp4_e.c
+++ b/src/plugins/srv6-mobile/gtp4_e.c
@@ -121,7 +121,7 @@ srv6_end_m_gtp4_e_init (vlib_main_t * vm)
gtpu_header_t *gtpu = &sm->cache_hdr.gtpu;
dpo_type_t dpo_type;
vlib_node_t *node;
- u32 rc;
+ int rc;
sm->vlib_main = vm;
sm->vnet_main = vnet_get_main ();
diff --git a/src/plugins/srv6-mobile/gtp6_d.c b/src/plugins/srv6-mobile/gtp6_d.c
index 3f366e81e5c..c62320b33fd 100644
--- a/src/plugins/srv6-mobile/gtp6_d.c
+++ b/src/plugins/srv6-mobile/gtp6_d.c
@@ -162,7 +162,7 @@ srv6_end_m_gtp6_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 ();
diff --git a/src/plugins/srv6-mobile/gtp6_d_di.c b/src/plugins/srv6-mobile/gtp6_d_di.c
index 54f18738605..14318562e84 100644
--- a/src/plugins/srv6-mobile/gtp6_d_di.c
+++ b/src/plugins/srv6-mobile/gtp6_d_di.c
@@ -161,7 +161,7 @@ srv6_end_m_gtp6_d_di_init (vlib_main_t * vm)
ip6srv_combo_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 ();
diff --git a/src/plugins/srv6-mobile/gtp6_e.c b/src/plugins/srv6-mobile/gtp6_e.c
index 4bc8d97cec7..d139a649409 100644
--- a/src/plugins/srv6-mobile/gtp6_e.c
+++ b/src/plugins/srv6-mobile/gtp6_e.c
@@ -99,7 +99,7 @@ srv6_end_m_gtp6_e_init (vlib_main_t * vm)
gtpu_header_t *gtpu = &sm->cache_hdr.gtpu;
dpo_type_t dpo_type;
vlib_node_t *node;
- u32 rc;
+ int rc;
sm->vlib_main = vm;
sm->vnet_main = vnet_get_main ();