Skip to content

Commit

Permalink
revive the warning about using -m option on delete/get operation.
Browse files Browse the repository at this point in the history
It will remain until snap users will confirm to remove them.
  • Loading branch information
sakane committed Dec 5, 2000
1 parent e7ab8ef commit d2dc98b
Showing 1 changed file with 13 additions and 3 deletions.
16 changes: 13 additions & 3 deletions kame/kame/setkey/parse.y
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* $KAME: parse.y,v 1.31 2000/12/05 09:13:33 sakane Exp $ */
/* $KAME: parse.y,v 1.32 2000/12/05 10:57:46 sakane Exp $ */

/*
* Copyright (C) 1995, 1996, 1997, 1998, and 1999 WIDE Project.
Expand Down Expand Up @@ -157,13 +157,23 @@ add_command
/* delete */
delete_command
: DELETE { p_type = SADB_DELETE; }
sa_selector_spec EOT
sa_selector_spec extension_spec
{
if (p_mode != IPSEC_MODE_ANY)
yyerror("WARNING: mode is obsoleted.");
}
EOT
;

/* get command */
get_command
: GET { p_type = SADB_GET; }
sa_selector_spec EOT
sa_selector_spec extension_spec
{
if (p_mode != IPSEC_MODE_ANY)
yyerror("WARNING: mode is obsoleted.");
}
EOT
;

/* flush */
Expand Down

0 comments on commit d2dc98b

Please sign in to comment.