Skip to content

Commit

Permalink
fixed a bug when updating server id dynamically
Browse files Browse the repository at this point in the history
Summary: only tpr server mode shall be updated.

Reviewed By: avasylev

Differential Revision: D66928849

fbshipit-source-id: afa82737c1d2b82432e3510021e342a982f6c427
  • Loading branch information
Fei Chen authored and facebook-github-bot committed Dec 9, 2024
1 parent 35c4dcd commit be0798a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions katran/tpr/TcpPktRouter.h
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,10 @@ class TcpPktRouter {
return v6Id_;
}

RunningMode getMode() {
return mode_;
}

/**
* Collects aggregated tcp_router_stats over numCpus.
*/
Expand Down

0 comments on commit be0798a

Please sign in to comment.