From ee969ea7f4c4f40020e4209b167da04d04aba52c Mon Sep 17 00:00:00 2001 From: Martin Mares Date: Sun, 20 Dec 1998 14:26:57 +0000 Subject: Added #if 0 to rip_postconfig(), so that it doesn't crash whole daemon when RIP is unconfigured. die() -> bug() --- proto/rip/rip.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'proto/rip/rip.h') diff --git a/proto/rip/rip.h b/proto/rip/rip.h index cbb2ccd..0e010dd 100644 --- a/proto/rip/rip.h +++ b/proto/rip/rip.h @@ -88,6 +88,6 @@ struct rip_proto { #define E ((struct rip_entry *) e) #define RIP_MAGIC 81861253 -#define CHK_MAGIC do { if (P->magic != RIP_MAGIC) die( "Not enough magic\n" ); } while (0) +#define CHK_MAGIC do { if (P->magic != RIP_MAGIC) bug( "Not enough magic\n" ); } while (0) void rip_init_instance(struct proto *p); -- cgit v1.2.3