diff options
author | Martin Mares <mj@ucw.cz> | 2000-01-17 00:30:06 +0100 |
---|---|---|
committer | Martin Mares <mj@ucw.cz> | 2000-01-17 00:30:06 +0100 |
commit | f14a4becbe77cfb3c2e4243d6fc383b0acd8956f (patch) | |
tree | ce2f157ef5571f3089939c9a442abf4e92676ada /nest/iface.c | |
parent | 30a6108cccac93048440113211df2eed1fb541b1 (diff) | |
download | bird-f14a4becbe77cfb3c2e4243d6fc383b0acd8956f.tar bird-f14a4becbe77cfb3c2e4243d6fc383b0acd8956f.zip |
Reworked proto lists -- each proto is now in two lists: the global one
(proto_list) and per-type one (original lists). A lot of things simplified.
Implemented `disable', `enable' and `restart' CLI commands.
Diffstat (limited to 'nest/iface.c')
-rw-r--r-- | nest/iface.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/nest/iface.c b/nest/iface.c index 4f12365..bf73b46 100644 --- a/nest/iface.c +++ b/nest/iface.c @@ -278,7 +278,7 @@ ifa_notify_change(unsigned c, struct ifa *a) struct proto *p; debug("IFA change notification (%x) for %s:%I\n", c, a->iface->name, a->ip); - WALK_LIST(p, proto_list) + WALK_LIST(p, active_proto_list) if (p->ifa_notify) p->ifa_notify(p, c, a); } @@ -307,7 +307,7 @@ if_notify_change(unsigned c, struct iface *i) ifa_notify_change(IF_CHANGE_DOWN, a); } - WALK_LIST(p, proto_list) + WALK_LIST(p, active_proto_list) if (p->if_notify) p->if_notify(p, c, i); |