0
0
mirror of https://gitlab.nic.cz/labs/bird.git synced 2024-12-22 09:41:54 +00:00

TMP: code cleanup - remove trailing whitespace

This commit is contained in:
Vojtech Vilimek 2022-08-02 16:12:09 +02:00
parent e5a88b584e
commit a5bdba428b
4 changed files with 10 additions and 10 deletions

View File

@ -125,7 +125,7 @@ snmp_init_bgp_table(void)
void
snmp_del_bgp_table(void)
{
{
// XXX really needed ?
const oid bgpPeerTable_oid[] = {1,3,6,1,2,1,15,3};

View File

@ -18,11 +18,11 @@
#define SNMP_BGP_LAST_ERROR 14 /* UNSUPPORTED */
#define SNMP_BGP_FSM_TRANSITIONS 15 /* FSM established transitions */
#define SNMP_BGP_FSM_ESTABLISHED_TIME 16 /* UNSUPPORTED FSM established time */
#define SNMP_BGP_RETRY_INTERVAL 17
#define SNMP_BGP_HOLD_TIME 18
#define SNMP_BGP_KEEPALIVE 19
#define SNMP_BGP_HOLD_TIME_CONFIGURED 20
#define SNMP_BGP_KEEPALIVE_CONFIGURED 21
#define SNMP_BGP_RETRY_INTERVAL 17
#define SNMP_BGP_HOLD_TIME 18
#define SNMP_BGP_KEEPALIVE 19
#define SNMP_BGP_HOLD_TIME_CONFIGURED 20
#define SNMP_BGP_KEEPALIVE_CONFIGURED 21
#define SNMP_BGP_ORIGINATION_INTERVAL 22 /* UNSUPPORTED */
#define SNMP_BGP_MIN_ROUTE_ADVERTISEMENT 23 /* UNSUPPORTED */
#define SNMP_BGP_MIN_UPDATE_ELAPSED_TIME 24 /* UNSUPPORTED */

View File

@ -131,7 +131,7 @@ shutdown_multihook(void)
void
snmp_shutdown_(struct proto *P)
{
snmp_stop_subagent(shutdown_multihook);
snmp_stop_subagent(shutdown_multihook);
}
struct protocol proto_snmp = {

View File

@ -41,12 +41,12 @@ snmp_start_subagent(void (*hook)(void))
*/
/* for Win32 only */
SOCK_STARTUP;
SOCK_STARTUP;
/* init library */
init_agent("bird");
if (hook)
if (hook)
hook();
/* used for loading config 'bird-snmp.conf' */