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

Function option_req_array

src/common/core-extensions.hpp:39–48  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

37
38
39inline bool option_req_array(const std::string &optname)
40{
41 return (("peer-fingerprint" == optname)
42 || ("pull-filter" == optname)
43 || ("remote" == optname)
44 || ("route" == optname)
45 || ("route-ipv6" == optname))
46 ? true
47 : false;
48}
49
50
51inline std::string optparser_mkline(std::string optname, std::string optvalue)

Callers 2

json_exportMethod · 0.85
json_importMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected