diff options
author | Maria Matejka <mq@ucw.cz> | 2022-09-01 14:21:56 +0200 |
---|---|---|
committer | Maria Matejka <mq@ucw.cz> | 2022-09-01 17:44:46 +0200 |
commit | 397fec4741b40f61d06a467b4110aad7e996485c (patch) | |
tree | 4bd33355175e42df9e3b7dee5517c19d4d6e337d /conf | |
parent | 34912b029b161cbbed44057dfa913669ccb087eb (diff) |
Default tables are not created unless actually used.
This allows for setting default table values at the beginning of config
file before "master4" and "master6" tables are initialized.
Diffstat (limited to 'conf')
-rw-r--r-- | conf/conf.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/conf/conf.h b/conf/conf.h index 50e01bf5..ffefa519 100644 --- a/conf/conf.h +++ b/conf/conf.h @@ -27,7 +27,7 @@ struct config { int mrtdump_file; /* Configured MRTDump file (sysdep, fd in unix) */ const char *syslog_name; /* Name used for syslog (NULL -> no syslog) */ - struct rtable_config *def_tables[NET_MAX]; /* Default routing tables for each network */ + struct symbol *def_tables[NET_MAX]; /* Default routing tables for each network */ struct iface_patt *router_id_from; /* Configured list of router ID iface patterns */ u32 router_id; /* Our Router ID */ |