Skip to content

Commit

Permalink
Merge pull request #47 from s-ntt/master
Browse files Browse the repository at this point in the history
formatted interface template
  • Loading branch information
marcmoiagese authored Mar 11, 2022
2 parents 41dc807 + 2a16bcd commit c5499af
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions templates/interface.erb
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
<%- if defined?(@rp_filter) -%> net.ipv4.conf.<%= @ifname %>.rp_filter=<%= @rp_filter %> <% end -%>
<%- if defined?(@arp_ignore) -%> net.ipv4.conf.<%= @ifname %>.arp_ignore=<%= @arp_ignore %> <% end -%>
<%- if defined?(@arp_announce) -%> net.ipv4.conf.<%= @ifname %>.arp_announce=<%= @arp_announce %> <% end -%>
<%- if defined?(@rp_filter) -%>net.ipv4.conf.<%= @ifname %>.rp_filter=<%= @rp_filter %> <% end %>
<%- if defined?(@arp_ignore) -%>net.ipv4.conf.<%= @ifname %>.arp_ignore=<%= @arp_ignore %> <% end %>
<%- if defined?(@arp_announce) -%>net.ipv4.conf.<%= @ifname %>.arp_announce=<%= @arp_announce %> <% end %>

0 comments on commit c5499af

Please sign in to comment.