]> git.ipfire.org Git - thirdparty/bird.git/commitdiff
TMP: code cleanup - remove trailing whitespace
authorVojtech Vilimek <vojtech.vilimek@nic.cz>
Tue, 2 Aug 2022 14:12:09 +0000 (16:12 +0200)
committerVojtech Vilimek <vojtech.vilimek@nic.cz>
Tue, 2 Aug 2022 14:12:09 +0000 (16:12 +0200)
proto/snmp/bgp_mib.c
proto/snmp/bgp_mib.h
proto/snmp/snmp.c
proto/snmp/subagent.c

index 09def035c588d1d7f67c0223a2e013ef076550ab..dae6a945e6efb89014e90d1aa4ddc50923bc5e08 100644 (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};
 
index 355ddb2dc0d86a0cc13dc6df47390d85b7f5d5f7..99229521c0252dafa6054768f60cd12006cacb63 100644 (file)
 #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 */
index 1943c3a4aa0aa55faf5e7aa1a2a29bb8469f8023..2bf37d58babe58424a77410d9a181cf046ccfc3c 100644 (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 = {
index af395c5aca2fd9cc28a68177e3264cb1346b9c0d..5bc81d34ffbc3ceb6515b44d0a2554e2d9856d1a 100644 (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' */