summaryrefslogtreecommitdiffstats
path: root/filter/f-util.c
diff options
context:
space:
mode:
authorPavel Machek <pavel@ucw.cz>2000-04-12 16:02:04 +0200
committerPavel Machek <pavel@ucw.cz>2000-04-12 16:02:04 +0200
commitac7a2145ccd5cfc54788b0218cc253e3b1721b76 (patch)
tree028014e8aa185e86c5b5c242aed0623830d1c2bf /filter/f-util.c
parent12d5677aa3e6217edc7d5508ac3dbbf87edc8624 (diff)
downloadbird-ac7a2145ccd5cfc54788b0218cc253e3b1721b76.tar
bird-ac7a2145ccd5cfc54788b0218cc253e3b1721b76.zip
f_new_dynamic_attr gets third argument, type as filters know it.
Diffstat (limited to 'filter/f-util.c')
-rw-r--r--filter/f-util.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/filter/f-util.c b/filter/f-util.c
index 048dd29..2ffcd9f 100644
--- a/filter/f-util.c
+++ b/filter/f-util.c
@@ -21,10 +21,10 @@ f_new_inst(void)
}
struct f_inst *
-f_new_dynamic_attr(int type, int code)
+f_new_dynamic_attr(int type, int f_type, int code)
{
struct f_inst *f = f_new_inst();
- f->aux = T_PATH; /* type; HACK!!! */
+ f->aux = f_type;
f->a2.i = code;
return f;
}