summaryrefslogtreecommitdiff
path: root/proto/rip
diff options
context:
space:
mode:
authorMartin Mares <mj@ucw.cz>1999-02-13 21:58:53 +0000
committerMartin Mares <mj@ucw.cz>1999-02-13 21:58:53 +0000
commitd1f7eab6b5f1bd86a47402cb8fdb5cbcedc8947f (patch)
tree7bd180cc550f82570e7acaf8a5e078b6729cc089 /proto/rip
parent726141746b7f86b02a902bd6b316792e4be0380c (diff)
Parameter order for the proto->if_notify hook was different in the include
file and different in reality. Decided to use the same order as we do for proto->rt_notify (i.e., first new value and second the old one).
Diffstat (limited to 'proto/rip')
-rw-r--r--proto/rip/rip.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/proto/rip/rip.c b/proto/rip/rip.c
index 294206b0..12492946 100644
--- a/proto/rip/rip.c
+++ b/proto/rip/rip.c
@@ -497,7 +497,7 @@ new_iface(struct proto *p, struct iface *new, unsigned long flags)
}
static void
-rip_if_notify(struct proto *p, unsigned c, struct iface *old, struct iface *new)
+rip_if_notify(struct proto *p, unsigned c, struct iface *new, struct iface *old)
{
DBG( "RIP: if notify\n" );
if (old) {