mirror of
https://gitlab.labs.nic.cz/labs/bird.git
synced 2024-05-11 16:54:54 +00:00
Special attribute types for enums
This commit is contained in:
@@ -165,7 +165,7 @@ f_generate_empty(struct f_dynamic_attr dyn)
|
||||
{
|
||||
struct f_val empty;
|
||||
|
||||
switch (dyn.type & EAF_TYPE_MASK) {
|
||||
switch (dyn.type) {
|
||||
case EAF_TYPE_AS_PATH:
|
||||
empty = f_const_empty_path;
|
||||
break;
|
||||
|
@@ -696,7 +696,7 @@
|
||||
break;
|
||||
}
|
||||
|
||||
switch (e->type & EAF_TYPE_MASK) {
|
||||
switch (e->type) {
|
||||
case EAF_TYPE_INT:
|
||||
RESULT_(da.f_type, i, e->u.data);
|
||||
break;
|
||||
|
Reference in New Issue
Block a user