mirror of
https://gitlab.isc.org/isc-projects/dhcp
synced 2025-08-29 21:38:10 +00:00
Add unset, let. Fix definition of ON_RELEASE.
This commit is contained in:
parent
5092dd0601
commit
24fe31ebbd
@ -38,7 +38,9 @@ struct executable_statement {
|
|||||||
switch_statement,
|
switch_statement,
|
||||||
case_statement,
|
case_statement,
|
||||||
default_statement,
|
default_statement,
|
||||||
set_statement
|
set_statement,
|
||||||
|
unset_statement,
|
||||||
|
let_statement
|
||||||
} op;
|
} op;
|
||||||
union {
|
union {
|
||||||
struct {
|
struct {
|
||||||
@ -56,7 +58,7 @@ struct executable_statement {
|
|||||||
int evtypes;
|
int evtypes;
|
||||||
# define ON_COMMIT 1
|
# define ON_COMMIT 1
|
||||||
# define ON_EXPIRY 2
|
# define ON_EXPIRY 2
|
||||||
# define ON_RELEASE 3
|
# define ON_RELEASE 4
|
||||||
struct executable_statement *statements;
|
struct executable_statement *statements;
|
||||||
} on;
|
} on;
|
||||||
struct {
|
struct {
|
||||||
@ -67,7 +69,9 @@ struct executable_statement {
|
|||||||
struct {
|
struct {
|
||||||
char *name;
|
char *name;
|
||||||
struct expression *expr;
|
struct expression *expr;
|
||||||
} set;
|
struct executable_statement *statements;
|
||||||
|
} set, let;
|
||||||
|
char *unset;
|
||||||
} data;
|
} data;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user