ovn: Use "ip.ttl--" instead of "ip4.ttl--".
[cascardo/ovs.git] / ovn / lib / actions.c
index ccf97f0..693b1c1 100644 (file)
@@ -247,9 +247,9 @@ parse_actions(struct action_context *ctx)
             parse_next_action(ctx);
         } else if (lexer_match_id(ctx->lexer, "output")) {
             emit_resubmit(ctx, ctx->output_ptable);
-        } else if (lexer_match_id(ctx->lexer, "ip4.ttl")) {
+        } else if (lexer_match_id(ctx->lexer, "ip.ttl")) {
             if (lexer_match(ctx->lexer, LEX_T_DECREMENT)) {
-                struct expr *e = expr_parse_string("ip4", ctx->symtab,
+                struct expr *e = expr_parse_string("ip", ctx->symtab,
                                                    &ctx->error);
                 ctx->prereqs = expr_combine(EXPR_T_AND, ctx->prereqs, e);
                 ofpact_put_DEC_TTL(ctx->ofpacts);