summaryrefslogtreecommitdiffstats
path: root/src/vnet/ip
diff options
context:
space:
mode:
authorDave Barach <dave@barachs.net>2017-11-18 06:58:34 -0500
committerDave Barach <dave@barachs.net>2017-11-18 07:25:36 -0500
commit630a8e2aed281f17c1676476637c18aa236317f5 (patch)
tree09b616d53515cce3d10a3c8e8f6d5bfa1a10344f /src/vnet/ip
parent70ed8aeff30c0eece0e19f0ad26c4cc8957278ae (diff)
Rename classifier ip6-sr metadata set action
There's nothing ip6-sr specific about it. Change-Id: I9e3710162bd81b535c46599c988557abf5a5003b Signed-off-by: Dave Barach <dave@barachs.net>
Diffstat (limited to 'src/vnet/ip')
-rw-r--r--src/vnet/ip/ip_input_acl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vnet/ip/ip_input_acl.c b/src/vnet/ip/ip_input_acl.c
index 1dd5317ee24..4d365a4437f 100644
--- a/src/vnet/ip/ip_input_acl.c
+++ b/src/vnet/ip/ip_input_acl.c
@@ -288,7 +288,7 @@ ip_inacl_inline (vlib_main_t * vm,
if (e0->action == CLASSIFY_ACTION_SET_IP4_FIB_INDEX ||
e0->action == CLASSIFY_ACTION_SET_IP6_FIB_INDEX)
vnet_buffer (b0)->sw_if_index[VLIB_TX] = e0->metadata;
- else if (e0->action == CLASSIFY_ACTION_SET_SR_POLICY_INDEX)
+ else if (e0->action == CLASSIFY_ACTION_SET_METADATA)
vnet_buffer (b0)->ip.adj_index[VLIB_TX] = e0->metadata;
}
else