From b2280748ad5087b5dab54dd4e423053ffe1f2387 Mon Sep 17 00:00:00 2001 From: Martin Mares Date: Wed, 3 Mar 1999 19:33:54 +0000 Subject: Introduced protocol priority (all 'normal' protocols should use the default zero priority). No more "kernel syncer initialized before device routes" problems. --- nest/protocol.h | 1 + 1 file changed, 1 insertion(+) (limited to 'nest/protocol.h') diff --git a/nest/protocol.h b/nest/protocol.h index 9463861..cb30754 100644 --- a/nest/protocol.h +++ b/nest/protocol.h @@ -30,6 +30,7 @@ struct protocol { node n; char *name; unsigned debug; /* Default debugging flags */ + int priority; /* Protocol priority (usually 0) */ void (*preconfig)(struct protocol *, struct config *); /* Just before configuring */ void (*postconfig)(struct proto_config *); /* After configuring each instance */ -- cgit v1.2.3