summaryrefslogtreecommitdiff
path: root/nest/rt-attr.c
diff options
context:
space:
mode:
authorMaria Matejka <mq@ucw.cz>2019-03-18 12:54:40 +0100
committerMaria Matejka <mq@ucw.cz>2019-03-18 12:54:40 +0100
commit8d65add626b34256879a3e83855af3c0fa8ce4e7 (patch)
treedafa110c47bc328f4006d4298fd641e8210381b4 /nest/rt-attr.c
parent2f02c25e36f3946019c24dafe9b894a9e195350d (diff)
parent5d511948cddee415c2f0f1103bda0468a193f2d6 (diff)
Merge branch 'master' into HEAD
Diffstat (limited to 'nest/rt-attr.c')
-rw-r--r--nest/rt-attr.c10
1 files changed, 2 insertions, 8 deletions
diff --git a/nest/rt-attr.c b/nest/rt-attr.c
index 01e807fa..9c38e3ca 100644
--- a/nest/rt-attr.c
+++ b/nest/rt-attr.c
@@ -573,8 +573,8 @@ ea_do_sort(ea_list *e)
}
/**
- * In place discard duplicates, undefs and temporary attributes in sorted
- * ea_list. We use stable sort for this reason.
+ * In place discard duplicates and undefs in sorted ea_list. We use stable sort
+ * for this reason.
**/
static inline void
ea_do_prune(ea_list *e)
@@ -598,10 +598,6 @@ ea_do_prune(ea_list *e)
if ((s0->type & EAF_TYPE_MASK) == EAF_TYPE_UNDEF)
continue;
- /* Drop temporary attributes */
- if (s0->type & EAF_TEMP)
- continue;
-
/* Copy the newest version to destination */
*d = *s0;
@@ -981,8 +977,6 @@ ea_dump(ea_list *e)
{
eattr *a = &e->attrs[i];
debug(" %02x:%02x.%02x", EA_PROTO(a->id), EA_ID(a->id), a->flags);
- if (a->type & EAF_TEMP)
- debug("T");
debug("=%c", "?iO?I?P???S?????" [a->type & EAF_TYPE_MASK]);
if (a->type & EAF_ORIGINATED)
debug("o");