summaryrefslogtreecommitdiff
path: root/nest/iface.h
diff options
context:
space:
mode:
authorMartin Mares <mj@ucw.cz>1998-10-19 18:13:36 +0000
committerMartin Mares <mj@ucw.cz>1998-10-19 18:13:36 +0000
commit7d8329078066b5682a0330b20dbdf74c7a01cbac (patch)
tree10893b4eef8fd178460a7ae2d2bc3106179bb3c3 /nest/iface.h
parent08045252553478457f923a9f941675df9992f507 (diff)
Generate router_id automatically if possible (standard "smallest of local
regular interface addresses" rule). Protocols should NOT rely on router_id existence -- when router ID is not available, the router_id variable is set to zero and protocols requiring valid router ID should just refuse to start, reporting such error to the log.
Diffstat (limited to 'nest/iface.h')
-rw-r--r--nest/iface.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/nest/iface.h b/nest/iface.h
index ff6ddeea..ea937207 100644
--- a/nest/iface.h
+++ b/nest/iface.h
@@ -54,6 +54,7 @@ void if_dump_all(void);
void if_update(struct iface *);
void if_end_update(void);
void if_feed_baby(struct proto *);
+void auto_router_id(void);
/*
* Neighbor Cache. We hold (direct neighbor, protocol) pairs we've seen