diff options
author | Martin Mares <mj@ucw.cz> | 1998-12-20 14:26:57 +0000 |
---|---|---|
committer | Martin Mares <mj@ucw.cz> | 1998-12-20 14:26:57 +0000 |
commit | ee969ea7f4c4f40020e4209b167da04d04aba52c (patch) | |
tree | f28e6b85ac4091a470d0d990f70a642e0a1c0d30 /proto/rip/rip.h | |
parent | 98e87c8628f9b0a0a96bc46879b65a78b756a718 (diff) |
Added #if 0 to rip_postconfig(), so that it doesn't crash whole daemon
when RIP is unconfigured.
die() -> bug()
Diffstat (limited to 'proto/rip/rip.h')
-rw-r--r-- | proto/rip/rip.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/proto/rip/rip.h b/proto/rip/rip.h index cbb2ccd8..0e010ddc 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); |