diff options
Diffstat (limited to 'templates/client.erb')
-rw-r--r-- | templates/client.erb | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/templates/client.erb b/templates/client.erb index 021ed61..d8b9213 100644 --- a/templates/client.erb +++ b/templates/client.erb @@ -24,3 +24,11 @@ mute-replay-warnings ns-cert-type server verb <%= scope.lookupvar('verb') %> mute <%= scope.lookupvar('mute') %> +<% if scope.lookupvar('iroute') != '' -%> +<% scope.lookupvar('iroute').to_a.each do |route| -%> +iroute <%= route %> +<% end -%> +<% end -%> +<% if scope.lookupvar('ifconfig_push') != '' -%> +ifconfig-push <%= scope.lookupvar('ifconfig_push') %> +<% end -%>
\ No newline at end of file |