diff options
author | Mikael Magnusson <mikma@users.sourceforge.net> | 2023-11-25 23:38:46 +0100 |
---|---|---|
committer | Mikael Magnusson <mikma@users.sourceforge.net> | 2023-11-25 23:38:46 +0100 |
commit | b26801568ed5aa75797d752b1de458cc4bcac152 (patch) | |
tree | a10f4d613305fd77d540283952111d9a2f893549 /conf/confbase.Y | |
parent | 03ed8f17dc5c8399ed81bef22e34c62301a3cad1 (diff) | |
parent | 333ddd4f981b90d5d3dff166b6abf9bf40bede9f (diff) |
Merge commit '333ddd4f' into wireguard-next-tmp7-1
Diffstat (limited to 'conf/confbase.Y')
-rw-r--r-- | conf/confbase.Y | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/conf/confbase.Y b/conf/confbase.Y index 69a7676c..63308290 100644 --- a/conf/confbase.Y +++ b/conf/confbase.Y @@ -43,6 +43,8 @@ static inline void cf_assert_symbol(const struct symbol *sym, uint class) { case SYM_FILTER: cf_assert(sym->class == SYM_FILTER, "Filter name required"); break; case SYM_TABLE: cf_assert(sym->class == SYM_TABLE, "Table name required"); break; case SYM_ATTRIBUTE: cf_assert(sym->class == SYM_ATTRIBUTE, "Custom attribute name required"); break; + case SYM_MPLS_DOMAIN: cf_assert(sym->class == SYM_MPLS_DOMAIN, "MPLS domain name required"); break; + case SYM_MPLS_RANGE: cf_assert(sym->class == SYM_MPLS_RANGE, "MPLS range name required"); break; case SYM_VARIABLE: cf_assert((sym->class & ~0xff) == SYM_VARIABLE, "Variable name required"); break; case SYM_CONSTANT: cf_assert((sym->class & ~0xff) == SYM_CONSTANT, "Constant name required"); break; default: bug("This shall not happen"); |