Skip to content

Commit

Permalink
Update openvpn_setup.c
Browse files Browse the repository at this point in the history
fix build error
  • Loading branch information
godcong committed Jul 27, 2020
1 parent 4ac5610 commit 9cc1878
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion release/src/router/libovpn/openvpn_setup.c
Expand Up @@ -232,7 +232,7 @@ char *ovpn_get_runtime_filename(ovpn_type_t type, int unit, ovpn_key_t key_type,


int ovpn_setup_iface(char *iface, ovpn_if_t iface_type, int bridge) {
modprobe("tun");
//modprobe("tun");
f_wait_exists("/dev/net/tun", 5);

if (eval("openvpn", "--mktun", "--dev", iface)) {
Expand Down

0 comments on commit 9cc1878

Please sign in to comment.