diff options
author | Martin Mares <mj@ucw.cz> | 2000-01-16 18:49:32 +0100 |
---|---|---|
committer | Martin Mares <mj@ucw.cz> | 2000-01-16 18:49:32 +0100 |
commit | 30a6108cccac93048440113211df2eed1fb541b1 (patch) | |
tree | 9adf2f46ed0e805d900cbcd2530acbb2bcd109cd /nest | |
parent | bf8558bc9cab35f31bccd6a55e51f121370765c4 (diff) | |
download | bird-30a6108cccac93048440113211df2eed1fb541b1.tar bird-30a6108cccac93048440113211df2eed1fb541b1.zip |
Added filter_same() for comparision of two filters.
Pavel, please implement this as soon as possible.
Diffstat (limited to 'nest')
-rw-r--r-- | nest/proto.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/nest/proto.c b/nest/proto.c index 36829bf..84b9cd8 100644 --- a/nest/proto.c +++ b/nest/proto.c @@ -228,8 +228,8 @@ protos_commit(struct config *new, struct config *old, int force_reconfig) && nc->preference == oc->preference && nc->disabled == oc->disabled && nc->table->table == oc->table->table - && nc->in_filter == oc->in_filter - && nc->out_filter == oc->out_filter + && filter_same(nc->in_filter, oc->in_filter) + && filter_same(nc->out_filter, oc->out_filter) && p->proto_state != PS_DOWN) { /* Generic attributes match, try converting them and then ask the protocol */ |