MCPcopy Create free account
hub / github.com/OpenVPN/openvpn3-linux / SetRemoteAddress

Method SetRemoteAddress

src/netcfg/proxy-netcfg-device.cpp:68–77  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

66
67
68void Device::SetRemoteAddress(const std::string &remote, bool ipv6) const
69{
70 GVariant *r = proxy->Call(prxtgt,
71 "SetRemoteAddress",
72 g_variant_new("(sb)", remote.c_str(), ipv6));
73 if (r)
74 {
75 g_variant_unref(r);
76 }
77}
78
79
80bool Device::AddBypassRoute(const std::string &addr,

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected