summaryrefslogtreecommitdiff
path: root/conf
diff options
context:
space:
mode:
Diffstat (limited to 'conf')
-rw-r--r--conf/conf.h2
-rw-r--r--conf/confbase.Y2
2 files changed, 2 insertions, 2 deletions
diff --git a/conf/conf.h b/conf/conf.h
index 0dea4f94..34c6818d 100644
--- a/conf/conf.h
+++ b/conf/conf.h
@@ -27,7 +27,7 @@ struct config {
list symbols; /* Configured symbols in config order */
int mrtdump_file; /* Configured MRTDump file (sysdep, fd in unix) */
- char *syslog_name; /* Name used for syslog (NULL -> no syslog) */
+ 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 iface_patt *router_id_from; /* Configured list of router ID iface patterns */
diff --git a/conf/confbase.Y b/conf/confbase.Y
index 75158927..8b22f236 100644
--- a/conf/confbase.Y
+++ b/conf/confbase.Y
@@ -60,7 +60,7 @@ CF_DECLS
net_addr net;
net_addr *net_ptr;
struct symbol *s;
- char *t;
+ const char *t;
struct rtable_config *r;
struct channel_config *cc;
struct f_inst *x;