From 2a16bcd853fae528fae655231b8ab1a7e5d54635 Mon Sep 17 00:00:00 2001 From: s-ntt <94382622+s-ntt@users.noreply.github.com> Date: Fri, 11 Mar 2022 16:47:14 +0100 Subject: [PATCH] formatted interface template --- templates/interface.erb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/templates/interface.erb b/templates/interface.erb index 8334b60..c131797 100644 --- a/templates/interface.erb +++ b/templates/interface.erb @@ -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 %>