Code Review
/
vpp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Improved tracing for the IP[46] not-enabled case.
[vpp.git]
/
src
/
vnet
/
ip
/
ip6_forward.c
diff --git
a/src/vnet/ip/ip6_forward.c
b/src/vnet/ip/ip6_forward.c
index
0a30872
..
c1c9ec0
100644
(file)
--- a/
src/vnet/ip/ip6_forward.c
+++ b/
src/vnet/ip/ip6_forward.c
@@
-436,11
+436,11
@@
ip6_sw_interface_enable_disable (u32 sw_if_index, u32 is_enable)
return;
}
return;
}
- vnet_feature_enable_disable ("ip6-unicast", "ip6-
drop
", sw_if_index,
+ vnet_feature_enable_disable ("ip6-unicast", "ip6-
not-enabled
", sw_if_index,
!is_enable, 0, 0);
!is_enable, 0, 0);
- vnet_feature_enable_disable ("ip6-multicast", "ip6-
drop", sw_if_index
,
- !is_enable, 0, 0);
+ vnet_feature_enable_disable ("ip6-multicast", "ip6-
not-enabled"
,
+
sw_if_index,
!is_enable, 0, 0);
}
/* get first interface address */
}
/* get first interface address */
@@
-622,10
+622,10
@@
VNET_FEATURE_INIT (ip6_vxlan_bypass, static) =
.runs_before = VNET_FEATURES ("ip6-lookup"),
};
.runs_before = VNET_FEATURES ("ip6-lookup"),
};
-VNET_FEATURE_INIT (ip6_
drop
, static) =
+VNET_FEATURE_INIT (ip6_
not_enabled
, static) =
{
.arc_name = "ip6-unicast",
{
.arc_name = "ip6-unicast",
- .node_name = "ip6-
drop
",
+ .node_name = "ip6-
not-enabled
",
.runs_before = VNET_FEATURES ("ip6-lookup"),
};
.runs_before = VNET_FEATURES ("ip6-lookup"),
};
@@
-650,9
+650,9
@@
VNET_FEATURE_INIT (ip6_vpath_mc, static) = {
.runs_before = VNET_FEATURES ("ip6-mfib-forward-lookup"),
};
.runs_before = VNET_FEATURES ("ip6-mfib-forward-lookup"),
};
-VNET_FEATURE_INIT (ip6_
drop
_mc, static) = {
+VNET_FEATURE_INIT (ip6_
not_enabled
_mc, static) = {
.arc_name = "ip6-multicast",
.arc_name = "ip6-multicast",
- .node_name = "ip6-
drop
",
+ .node_name = "ip6-
not-enabled
",
.runs_before = VNET_FEATURES ("ip6-mfib-forward-lookup"),
};
.runs_before = VNET_FEATURES ("ip6-mfib-forward-lookup"),
};
@@
-711,11
+711,11
@@
ip6_sw_interface_add_del (vnet_main_t * vnm, u32 sw_if_index, u32 is_add)
ip6_mfib_interface_enable_disable (sw_if_index, 0);
}
ip6_mfib_interface_enable_disable (sw_if_index, 0);
}
- vnet_feature_enable_disable ("ip6-unicast", "ip6-
drop
", sw_if_index,
+ vnet_feature_enable_disable ("ip6-unicast", "ip6-
not-enabled
", sw_if_index,
is_add, 0, 0);
is_add, 0, 0);
- vnet_feature_enable_disable ("ip6-multicast", "ip6-
drop", sw_if_index
,
- is_add, 0, 0);
+ vnet_feature_enable_disable ("ip6-multicast", "ip6-
not-enabled"
,
+
sw_if_index,
is_add, 0, 0);
return /* no error */ 0;
}
return /* no error */ 0;
}