summaryrefslogtreecommitdiff
path: root/proto/rip/rip.c
diff options
context:
space:
mode:
authorOndrej Filip <feela@network.cz>2013-02-22 07:15:27 +0100
committerOndrej Filip <feela@network.cz>2013-02-22 07:15:27 +0100
commit04ddefb357b2b8759be16633f7bb1df49b0405ea (patch)
tree013d8221bd023fd28b46f000cabea53c01a37f41 /proto/rip/rip.c
parent2bf59bf4d3e4fcaff489d3445134e5e2e2af9cf6 (diff)
Use BIRD's ASSERT instead of assert.h
Diffstat (limited to 'proto/rip/rip.c')
-rw-r--r--proto/rip/rip.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/proto/rip/rip.c b/proto/rip/rip.c
index 4b303305..35a151ad 100644
--- a/proto/rip/rip.c
+++ b/proto/rip/rip.c
@@ -59,7 +59,6 @@
#include "lib/string.h"
#include "rip.h"
-#include <assert.h>
#define P ((struct rip_proto *) p)
#define P_CF ((struct rip_proto_config *)p->cf)
@@ -583,9 +582,9 @@ rip_start(struct proto *p)
struct rip_interface *rif;
DBG( "RIP: starting instance...\n" );
- assert( sizeof(struct rip_packet_heading) == 4);
- assert( sizeof(struct rip_block) == 20);
- assert( sizeof(struct rip_block_auth) == 20);
+ ASSERT(sizeof(struct rip_packet_heading) == 4);
+ ASSERT(sizeof(struct rip_block) == 20);
+ ASSERT(sizeof(struct rip_block_auth) == 20);
#ifdef LOCAL_DEBUG
P->magic = RIP_MAGIC;