diff options
| author | 2019-09-23 11:49:26 +0100 | |
|---|---|---|
| committer | 2019-09-23 13:18:14 +0100 | |
| commit | a4305d8f3c3e613be839bdcd61a1d14c87fed5aa (patch) | |
| tree | 16e01b6079f017c00d2bda2da0fcb759b98a5ea1 /src/modules/m_spanningtree/pingtimer.cpp | |
| parent | Lower the acceptable drift for clocks on link. (diff) | |
Add the server id to the Server class.
Diffstat (limited to 'src/modules/m_spanningtree/pingtimer.cpp')
| -rw-r--r-- | src/modules/m_spanningtree/pingtimer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_spanningtree/pingtimer.cpp b/src/modules/m_spanningtree/pingtimer.cpp index 1c96259bf..baa799d00 100644 --- a/src/modules/m_spanningtree/pingtimer.cpp +++ b/src/modules/m_spanningtree/pingtimer.cpp @@ -36,7 +36,7 @@ PingTimer::State PingTimer::TickInternal() if (state == PS_SENDPING) { // Last ping was answered, send next ping - server->GetSocket()->WriteLine(CmdBuilder("PING").push(server->GetID())); + server->GetSocket()->WriteLine(CmdBuilder("PING").push(server->GetId())); LastPingMsec = ServerInstance->Time() * 1000 + (ServerInstance->Time_ns() / 1000000); // Warn next unless warnings are disabled. If they are, jump straight to timeout. if (Utils->PingWarnTime) |
