summaryrefslogtreecommitdiffstats
path: root/conf
diff options
context:
space:
mode:
Diffstat (limited to 'conf')
-rw-r--r--conf/conf.c4
-rw-r--r--conf/conf.h1
2 files changed, 0 insertions, 5 deletions
diff --git a/conf/conf.c b/conf/conf.c
index 06cd3d1..dd85735 100644
--- a/conf/conf.c
+++ b/conf/conf.c
@@ -50,10 +50,6 @@ config_parse(struct config *c)
cf_lex_init_tables();
protos_preconfig(c);
cf_parse();
-#if 0 /* FIXME: We don't have interface list yet :( */
- if (!c->router_id && !(c->router_id = auto_router_id()))
- cf_error("Cannot determine router ID (no suitable network interface found), please configure it manually");
-#endif
filters_postconfig(); /* FIXME: Do we really need this? */
protos_postconfig(c);
return 1;
diff --git a/conf/conf.h b/conf/conf.h
index 54f5d5e..69f4a02 100644
--- a/conf/conf.h
+++ b/conf/conf.h
@@ -18,7 +18,6 @@ struct config {
linpool *mem; /* Linear pool containing configuration data */
list protos; /* Configured protocol instances (struct proto_config) */
u32 router_id; /* Our Router ID */
- u16 this_as; /* Our Autonomous System Number */
char *err_msg; /* Parser error message */
int err_lino; /* Line containing error */
char *file_name; /* Name of configuration file */