From: Jana Babovakova Date: Wed, 12 Feb 2025 16:06:39 +0000 (+0100) Subject: Add option hostname for each protocol X-Git-Tag: v2.17~43 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5938adb5185d6df25187f5c9fa2482a0788b33c1;p=thirdparty%2Fbird.git Add option hostname for each protocol --- diff --git a/conf/conf.h b/conf/conf.h index dd2966520..921ebb69d 100644 --- a/conf/conf.h +++ b/conf/conf.h @@ -34,6 +34,7 @@ struct config { struct iface_patt *router_id_from; /* Configured list of router ID iface patterns */ u32 router_id; /* Our Router ID */ + const char *hostname; /* Hostname */ u32 proto_default_debug; /* Default protocol debug mask */ u32 proto_default_mrtdump; /* Default protocol mrtdump mask */ u32 channel_default_debug; /* Default channel debug mask */ @@ -43,7 +44,6 @@ struct config { struct timeformat tf_log; /* Time format for the logfile */ struct timeformat tf_base; /* Time format for other purposes */ u32 gr_wait; /* Graceful restart wait timeout (sec) */ - const char *hostname; /* Hostname */ int cli_debug; /* Tracing of CLI connections and commands */ int latency_debug; /* I/O loop tracks duration of each event */ diff --git a/doc/bird.sgml b/doc/bird.sgml index d400b3491..d408cace2 100644 --- a/doc/bird.sgml +++ b/doc/bird.sgml @@ -836,6 +836,10 @@ agreement"). This option can be used to override global router id for a given protocol. Default: uses global router id. +