Revision 23db45f6
src/etc/rc.openvpn | ||
---|---|---|
84 | 84 |
if (isset($gateways_arr[$argument])) { |
85 | 85 |
//file_put_contents("/dev/console", "\n[".getmypid()."] OPENVPN CALLED WITH GW:".$argument); |
86 | 86 |
// called upon rc.gateway_alarm |
87 |
system_routing_configure(); |
|
87 |
system_routing_configure($gateways_arr[$argument]['friendlyiface']);
|
|
88 | 88 |
} |
89 | 89 |
|
90 | 90 |
if (count(config_get_path("openvpn/openvpn-server", [])) || |
Also available in: Unified diff
Specify the interface when applying static route changes during OpenVPN reloads