<% Hash(@interface.dig(:inet, :routes)).sort.each do |destination, details| -%>
[Route]
-<% if details[:gateway] -%>
-Gateway=<%= details[:gateway] %>
+<% if details[:via] -%>
+Gateway=<%= details[:via] %>
<% end -%>
Destination=<%= destination %>
<% if details[:metric] -%>
<% Hash(@interface.dig(:inet6, :routes)).sort.each do |destination, details| -%>
[Route]
-<% if details[:gateway] -%>
-Gateway=<%= details[:gateway] %>
+<% if details[:via] -%>
+Gateway=<%= details[:via] %>
<% end -%>
Destination=<%= destination %>
<% if details[:metric] -%>