diff --git a/include/snfm.h b/include/snfm.h index 25539cf..288c497 100644 --- a/include/snfm.h +++ b/include/snfm.h @@ -19,9 +19,7 @@ static grpc::ChannelArguments GetChannelArgs() class SNIConnection { public: - // this needs to be passed in - //SNIConnection(const std::string& address = "localhost:8191") // "172.27.16.1:8191" - SNIConnection(const std::string& address = "172.27.16.1:8191") // "172.27.16.1:8191" + SNIConnection(const std::string& address = "localhost:8191") // "172.27.16.1:8191" : channel_{ grpc::CreateCustomChannel(address, grpc::InsecureChannelCredentials(), GetChannelArgs()) }, devices_stub_{ Devices::NewStub(channel_) }, filesystem_stub_{ DeviceFilesystem::NewStub(channel_) } { @@ -222,4 +220,4 @@ class SNIConnection std::unique_ptr filesystem_stub_; std::vector devices_; -}; \ No newline at end of file +};