@@ -91,7 +91,7 @@ struct RecordExtTCPRTT : public RecordExt {
9191 return static_cast <int >(sizeof (uint64_t ));
9292 }
9393
94- const uint64_t round_trip_time =
94+ const uint64_t round_trip_time =
9595 timeval_to_msec (tcp_synack_timestamp) - timeval_to_msec (tcp_syn_timestamp);
9696 *reinterpret_cast <uint64_t *>(buffer) = round_trip_time;
9797 return static_cast <int >(sizeof (round_trip_time));
@@ -109,10 +109,10 @@ struct RecordExtTCPRTT : public RecordExt {
109109 std::ostringstream out;
110110
111111 if (has_no_value (tcp_syn_timestamp) || has_no_value (tcp_synack_timestamp)) {
112- out << " tcprtt = UNKNOWN" ;
112+ out << " tcprtt = UNKNOWN" ;
113113 } else {
114- out << " tcprtt = " <<
115- timeval_to_msec (tcp_synack_timestamp) - timeval_to_msec (tcp_syn_timestamp);
114+ out << " tcprtt = " <<
115+ timeval_to_msec (tcp_synack_timestamp) - timeval_to_msec (tcp_syn_timestamp);
116116 }
117117
118118 return out.str ();
@@ -125,11 +125,11 @@ class TCPRTTPlugin : public ProcessPlugin {
125125 TCPRTTPlugin (const std::string& params, int pluginID);
126126
127127 TCPRTTPlugin (const TCPRTTPlugin&) noexcept ;
128-
128+
129129 ~TCPRTTPlugin () override = default ;
130-
130+
131131 void init (const char * params) override ;
132-
132+
133133 OptionsParser* get_parser () const override ;
134134
135135 std::string get_name () const override ;
@@ -148,4 +148,4 @@ class TCPRTTPlugin : public ProcessPlugin {
148148 std::unique_ptr<RecordExtTCPRTT> m_prealloced_extension{get_ext ()};
149149};
150150
151- }
151+ }
0 commit comments