Don't clear arp_filter and arp_ignore

git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@6002 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
teastep 2007-04-18 19:32:30 +00:00
parent a6405cb423
commit 05360661ea

View File

@ -51,14 +51,6 @@ our %macros;
sub setup_arp_filtering() { sub setup_arp_filtering() {
save_progress_message "Setting up ARP filtering..."; save_progress_message "Setting up ARP filtering...";
emit "for f in /proc/sys/net/ipv4/conf/*; do
[ -f \$f/arp_filter ] && echo 0 > \$f/arp_filter
[ -f \$f/arp_ignore ] && echo 0 > \$f/arp_ignore
done
";
emit '';
my $interfaces = find_interfaces_by_option 'arp_filter'; my $interfaces = find_interfaces_by_option 'arp_filter';
my $interfaces1 = find_interfaces_by_option 'arp_ignore'; my $interfaces1 = find_interfaces_by_option 'arp_ignore';