Commit b332e0b7 authored by wangyao02's avatar wangyao02

- rename get_sock_opt to GetSockOption

parent f6e82dc6
......@@ -1382,7 +1382,7 @@ x509_st* Controller::get_peer_certificate() const {
return s ? s->GetPeerCertificate() : NULL;
}
int Controller::get_sock_opt(int level, int optname, void* optval, socklen_t* optlen) {
int Controller::GetSockOption(int level, int optname, void* optval, socklen_t* optlen) {
Socket* s = _current_call.sending_sock.get();
if (s) {
return getsockopt(s->fd(), level, optname, optval, optlen);
......
......@@ -593,7 +593,7 @@ private:
bool is_used_by_rpc() const { return has_flag(FLAGS_USED_BY_RPC); }
// Get sock option. .e.g get vip info through ttm kernel module hook,
int get_sock_opt(int level, int optname, void* optval, socklen_t* optlen);
int GetSockOption(int level, int optname, void* optval, socklen_t* optlen);
private:
// NOTE: align and group fields to make Controller as compact as possible.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment