enum: Allow specifying the name used when none of the flags are set

This commit is contained in:
Tobias Brunner
2022-04-14 18:42:01 +02:00
parent a5430e1601
commit 927103ece4
4 changed files with 14 additions and 11 deletions
+1
View File
@@ -42,6 +42,7 @@ ENUM(child_sa_state_names, CHILD_CREATED, CHILD_DESTROYING,
);
ENUM_FLAGS(child_sa_outbound_state_names, CHILD_OUTBOUND_REGISTERED, CHILD_OUTBOUND_POLICIES,
"NONE",
"REGISTERED",
"SA",
"POLICIES",