summaryrefslogtreecommitdiff
path: root/proto/rip
diff options
context:
space:
mode:
authorPavel Machek <pavel@ucw.cz>2000-05-17 20:23:05 +0000
committerPavel Machek <pavel@ucw.cz>2000-05-17 20:23:05 +0000
commit6d5e703dc9ac387d72005f3b5da82e80275d5fc6 (patch)
treecfd31e3fc5ce0f28433a6b50defab064b1d549e4 /proto/rip
parent00c1f79a79281c16beec132d945db480daca958d (diff)
Minor cleaning
Diffstat (limited to 'proto/rip')
-rw-r--r--proto/rip/rip.c2
-rw-r--r--proto/rip/rip.h1
2 files changed, 1 insertions, 2 deletions
diff --git a/proto/rip/rip.c b/proto/rip/rip.c
index 163a76c3..dddf1a52 100644
--- a/proto/rip/rip.c
+++ b/proto/rip/rip.c
@@ -16,6 +16,7 @@
FIXME: (nonurgent) allow bigger frequencies than 1 regular update in 6 seconds (?)
FIXME: propagation of metric=infinity into main routing table may or may not be good idea.
+ FIXME: ea_find can return NULL
*/
/**
@@ -435,7 +436,6 @@ rip_dump_entry( struct rip_entry *e )
{
debug( "%I told me %d/%d ago: to %I/%d go via %I, metric %d ",
e->whotoldme, e->updated-now, e->changed-now, e->n.prefix, e->n.pxlen, e->nexthop, e->metric );
- if (e->flags & RIP_F_EXTERNAL) debug( "[external]" );
debug( "\n" );
}
diff --git a/proto/rip/rip.h b/proto/rip/rip.h
index 185959ae..9a070404 100644
--- a/proto/rip/rip.h
+++ b/proto/rip/rip.h
@@ -87,7 +87,6 @@ struct rip_entry {
bird_clock_t updated, changed;
int flags;
-#define RIP_F_EXTERNAL 1
};
struct rip_packet {